guacamole/docker-compose.yml

60 lines
1.5 KiB
YAML
Raw Normal View History

2020-05-10 20:59:45 +00:00
version: "3.7"
services:
guacamole-postgresql:
# database for guacamole
deploy:
placement:
constraints: [node.labels.com.sigyl.git-stack-data == yes]
replicas: 1
restart_policy:
condition: any
2020-09-25 09:08:40 +00:00
image: ${LOCAL_DOCKER_REGISTRY}guacamole-postgresql:latest
2020-05-10 20:59:45 +00:00
environment:
2020-08-28 20:54:34 +00:00
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
2020-05-11 10:47:05 +00:00
POSTGRES_DB: guacamole_db
2020-05-10 20:59:45 +00:00
volumes:
- guacamole-postgresql-data:/var/lib/postgresql/data
networks:
- appnet
# The backend guacamole server.
guacd:
deploy:
placement:
constraints: [node.labels.com.sigyl.git-stack == yes]
replicas: 1
restart_policy:
condition: any
2020-09-25 09:08:40 +00:00
image: ${LOCAL_DOCKER_REGISTRY}guacamole/guacd:1.2.0
2020-05-10 20:59:45 +00:00
networks:
- appnet
guacamole:
deploy:
placement:
constraints: [node.labels.com.sigyl.git-stack == yes]
replicas: 1
restart_policy:
condition: any
2020-09-25 09:08:40 +00:00
image: ${LOCAL_DOCKER_REGISTRY}guacamole/guacamole:1.2.0
#@sha256:6eb0b854e8e145df8f9220b92e51d52e9ff18c4262de20d56ccc62a4dad835b9
2020-05-10 20:59:45 +00:00
environment:
- POSTGRES_HOSTNAME=guacamole-postgresql
- POSTGRES_PORT=5432
- POSTGRES_USER=guacamole_user
2020-08-28 20:54:34 +00:00
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
2020-05-11 10:47:05 +00:00
- POSTGRES_DATABASE=guacamole_db
2020-05-10 20:59:45 +00:00
- GUACD_HOSTNAME=guacd
networks:
- appnet
- externalnet
volumes:
guacamole-postgresql-data:
networks:
appnet:
driver: overlay
#external: true
externalnet:
driver: overlay
external: true