Add traefik routing
This commit is contained in:
@@ -17,7 +17,7 @@ services:
|
||||
depends_on:
|
||||
- "guacd"
|
||||
healthcheck:
|
||||
test: "curl -f http://localhost:8080/ || exit 1"
|
||||
test: "curl -f http://localhost:8080/guacamole/ || exit 1"
|
||||
environment:
|
||||
GUACD_HOSTNAME: "guacd"
|
||||
GUACD_PORT: "4822"
|
||||
@@ -29,6 +29,15 @@ services:
|
||||
- "10.0.0.1:8080:8080"
|
||||
networks:
|
||||
guacamole:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.guacamole.entrypoints=websecure"
|
||||
- "traefik.http.routers.guacamole.rule=Host(`guacamole.unixyourbrain.org`)"
|
||||
- "traefik.http.routers.guacamole.tls=true"
|
||||
- "traefik.http.routers.guacamole.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.routers.guacamole.middlewares=authelia"
|
||||
- "traefik.http.services.guacamole.loadbalancer.server.port=8080"
|
||||
- "traefik.http.services.guacamole.loadbalancer.server.scheme=http"
|
||||
|
||||
networks:
|
||||
guacamole:
|
||||
|
||||
Reference in New Issue
Block a user