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.
 
 

62 lines
1.9 KiB

version: "3"
services:
db:
image: postgres:13-alpine
restart: always
volumes:
- ./initdb.sql:/docker-entrypoint-initdb.d/initdb.sql
- /home/adyanth/docker/data/guacamole/db:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: acomplexpasswordherewhynot
POSTGRES_DB: guacamole_db
guacd:
image: guacamole/guacd:latest
restart: always
volumes:
- "/home/adyanth/docker/data/guacamole/rdp:/rdp"
guacamole:
image: adyanth/guacamole:themepark
build:
context: guacamole
args:
image: guacamole/guacamole:1.4.0
restart: always
depends_on:
- db
- guacd
environment:
GUACD_HOSTNAME: guacd
POSTGRES_HOSTNAME: db
POSTGRES_DATABASE: guacamole_db
POSTGRES_USER: postgres
POSTGRES_PASSWORD: acomplexpasswordherewhynot
EXTENSION_PRIORITY: openid # '*, openid'
env_file:
- guacamole.env
expose:
- 8080
networks:
- default
- management-services
labels:
- traefik.enable=true
- traefik.docker.network=management-services
- traefik.http.routers.guacamole.entrypoints=websecure
- traefik.http.routers.guacamole.rule=HostRegexp(`guacamole.adyanth.{root:\w+}`)
- traefik.http.routers.guacamole.middlewares=guacamole-prefix,append-cf-xff@file
- traefik.http.middlewares.guacamole-prefix.addprefix.prefix=/guacamole
- traefik.http.routers.guacamole.tls
# - traefik.http.middlewares.guacamole-timeout.plugin.traefik-container-manager.timeout=7200
# - traefik.http.middlewares.guacamole-timeout.plugin.traefik-container-manager.serviceUrl=http://10.10.10.3:10000/api/
# - traefik.http.middlewares.guacamole-timeout.plugin.traefik-container-manager.name=guacamole
# - traefik-container-manager.name=guacamole
# - traefik-container-manager.host=guacamole
networks:
management-services:
external: true