.
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Giles Bradshaw 2020-04-28 08:34:36 +01:00
parent 81a36da67b
commit cf50454427
1 changed files with 5 additions and 12 deletions

View File

@ -264,8 +264,8 @@ services:
condition: any condition: any
image: ${LOCAL_DOCKER_REGISTRY}guacamole-postgresql:latest image: ${LOCAL_DOCKER_REGISTRY}guacamole-postgresql:latest
environment: environment:
POSTGRES_PASSWORD: guacroot POSTGRES_PASSWORD: ${GUACAMOLE_POSTGRES_PASSWORD}
POSTGRES_DB: guacamole_db POSTGRES_DB: ${GUACAMOLE_POSTGRES_DB}
volumes: volumes:
- guacamole-postgresql-data:/var/lib/postgresql/data - guacamole-postgresql-data:/var/lib/postgresql/data
networks: networks:
@ -291,19 +291,12 @@ services:
restart_policy: restart_policy:
condition: any condition: any
image: guacamole/guacamole:latest image: guacamole/guacamole:latest
secrets:
- source: guacamole-postgresql-database
target: database
- source: guacamole-postgresql-user
target: user
- source: guacamole-postgresql-password
target: password
environment: environment:
- POSTGRES_HOSTNAME=guacamole-postgresql - POSTGRES_HOSTNAME=guacamole-postgresql
- POSTGRES_PORT=5432 - POSTGRES_PORT=5432
- POSTGRES_USER_FILE=/run/secrets/user - POSTGRES_USER=${GUACAMOLE_POSTGRES_USER}
- POSTGRES_PASSWORD_FILE=/run/secrets/password - POSTGRES_PASSWORD=${GUACAMOLE_POSTGRES_PASSWORD}
- POSTGRES_DATABASE_FILE=/run/secrets/database - POSTGRES_DATABASE=${GUACAMOLE_POSTGRES_DB}
- GUACD_HOSTNAME=guacd - GUACD_HOSTNAME=guacd
networks: networks:
- appnet - appnet