|
|
@ -6,10 +6,9 @@ steps:
|
|
|
|
- name: deploy-container-postgresql
|
|
|
|
- name: deploy-container-postgresql
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
IMAGENAME: postgres:13 # Image PostgreSQL version 13
|
|
|
|
IMAGENAME: postgres:13 # Utilisation de l'image PostgreSQL
|
|
|
|
CONTAINERNAME: postgresql # Nom du conteneur PostgreSQL
|
|
|
|
CONTAINERNAME: postgresql # Nom du conteneur PostgreSQL
|
|
|
|
COMMAND: create # Commande pour créer le conteneur
|
|
|
|
PRIVATE: true # Le conteneur est privé
|
|
|
|
PRIVATE: true # Conteneur privé
|
|
|
|
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_PASSWORD:
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_PASSWORD:
|
|
|
|
from_secret: db_root_password # Mot de passe pour l'utilisateur `postgres`
|
|
|
|
from_secret: db_root_password # Mot de passe pour l'utilisateur `postgres`
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_DB:
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_DB:
|
|
|
@ -17,4 +16,4 @@ steps:
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_USER:
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_USER:
|
|
|
|
from_secret: db_user # Nom d'utilisateur PostgreSQL
|
|
|
|
from_secret: db_user # Nom d'utilisateur PostgreSQL
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_PASSWORD_USER:
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_PASSWORD_USER:
|
|
|
|
from_secret: db_password # Mot de passe pour l'utilisateur PostgreSQL supplémentaire
|
|
|
|
from_secret: db_password # Mot de passe pour l'utilisateur PostgreSQL
|
|
|
|