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.
21 lines
945 B
21 lines
945 B
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 version 13
|
|
CONTAINERNAME: postgresql # Nom du conteneur PostgreSQL
|
|
COMMAND: create # Commande pour créer le conteneur
|
|
PRIVATE: true # Conteneur privé
|
|
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_PASSWORD:
|
|
from_secret: db_root_password # Mot de passe pour l'utilisateur `postgres`
|
|
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
|
|
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_PASSWORD_USER:
|
|
from_secret: db_password # Mot de passe pour l'utilisateur PostgreSQL supplémentaire
|