You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
1010 B

4 months ago
kind: pipeline
type: docker
name: deploy-postgresql
steps:
- name: deploy-container-postgresql
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
environment:
IMAGENAME: postgres:13 # Image PostgreSQL
4 months ago
CONTAINERNAME: postgresql # Nom du conteneur PostgreSQL
4 months ago
COMMAND: create # Commande pour créer le conteneur
PRIVATE: true # Indique que le conteneur est privé
4 months ago
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_PASSWORD:
4 months ago
from_secret: db_root_password # Mot de passe de l'utilisateur root (postgres)
4 months ago
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_DB:
from_secret: db_database # Nom de la base de données PostgreSQL
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_USER:
from_secret: db_user # Nom d'utilisateur PostgreSQL supplémentaire
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_PASSWORD_USER:
4 months ago
from_secret: db_password # Mot de passe pour l'utilisateur PostgreSQL supplémentaire
when:
event:
- push