Refactor Traefik configurations for multiple services and add new Nextcloud AIO setup
TEST
This commit is contained in:
@@ -10,13 +10,8 @@ services:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
env_file: .env
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.${GLANCE_APPNAME:-glance}.rule=Host(`${GLANCE_SUBDOMEN:-glance}.${HOST:-workstation}`)"
|
||||
- "traefik.http.routers.${GLANCE_APPNAME:-glance}.entrypoints=websecure"
|
||||
- "traefik.http.routers.${GLANCE_APPNAME:-glance}.tls=true"
|
||||
- "traefik.http.routers.${GLANCE_APPNAME:-glance}.tls.certresolver=le"
|
||||
- "traefik.http.services.${GLANCE_APPNAME:-glance}.loadbalancer.server.port=8080"
|
||||
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=traefik-proxy"
|
||||
networks:
|
||||
- traefik-proxy
|
||||
dns:
|
||||
|
||||
Reference in New Issue
Block a user