Ajout variables ENV pour identification DB (celles présentes dans le code étant pour le dev local)

Springboot
Alix JEUDI--LEMOINE 1 year ago
parent df22457e89
commit 8d63bc0bd3

@ -53,6 +53,11 @@ steps:
from_secret: SECRET_REGISTRY_USERNAME from_secret: SECRET_REGISTRY_USERNAME
password: password:
from_secret: SECRET_REGISTRY_PASSWORD from_secret: SECRET_REGISTRY_PASSWORD
environment:
SPRING_DATASOURCE_URL: jdbc:postgresql://tombiard-postgres_server:5432/ScienceQuest
SPRING_DATASOURCE_USERNAME: ScienceQuest
SPRING_DATASOURCE_PASSWORD:
from_secret: postgres_password_secret
- name: deploy-container-app - name: deploy-container-app
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
@ -62,4 +67,8 @@ steps:
CONTAINERNAME: api CONTAINERNAME: api
COMMAND: create COMMAND: create
OVERWRITE: true OVERWRITE: true
CODEFIRST_CLIENTDRONE_ENV_SPRING_DATASOURCE_URL: jdbc:postgresql://tombiard-postgres_server:5432/ScienceQuest
CODEFIRST_CLIENTDRONE_ENV_SPRING_DATASOURCE_USERNAME: ScienceQuest
CODEFIRST_CLIENTDRONE_ENV_SPRING_DATASOURCE_PASSWORD:
from_secret: postgres_password_secret
ADMINS: alixjeudi--lemoine,victorsoulier,gwenaelplanchon ADMINS: alixjeudi--lemoine,victorsoulier,gwenaelplanchon

Loading…
Cancel
Save