|
|
@ -7,9 +7,12 @@ steps:
|
|
|
|
- name: deploy-container-pgsql
|
|
|
|
- name: deploy-container-pgsql
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
|
settings:
|
|
|
|
settings:
|
|
|
|
IMAGENAME: mariadb:10
|
|
|
|
IMAGENAME: postgres:latest
|
|
|
|
CONTAINERNAME: WF-DATABASE
|
|
|
|
CONTAINERNAME: WF-DATABASE
|
|
|
|
COMMAND: create
|
|
|
|
commands:
|
|
|
|
|
|
|
|
- create
|
|
|
|
|
|
|
|
- sleep 10
|
|
|
|
|
|
|
|
- psql -h https://codefirst.iut.uca.fr/containers/ -U adminfantasy -d wikifantasyDB -f /docker-entrypoint-initdb.d/init.sql
|
|
|
|
# OVERWRITE: false
|
|
|
|
# OVERWRITE: false
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_PGSQL_ROOT_PASSWORD:
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_PGSQL_ROOT_PASSWORD:
|
|
|
|
from_secret: db_server
|
|
|
|
from_secret: db_server
|
|
|
@ -19,4 +22,3 @@ steps:
|
|
|
|
from_secret: db_password
|
|
|
|
from_secret: db_password
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_PGSQL_DATABASE:
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_PGSQL_DATABASE:
|
|
|
|
from_secret: db_database
|
|
|
|
from_secret: db_database
|
|
|
|
|
|
|
|
|
|
|
|