Refactor Traefik configurations for multiple services and add new Nextcloud AIO setup
TEST
This commit is contained in:
@@ -19,13 +19,7 @@ services:
|
||||
- traefik-proxy
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.${DOCKMON_APPNAME:-dockmon}.rule=Host(`${DOCKMON_SUBDOMEN:-}.${HOST:-workstation}`)"
|
||||
- "traefik.http.routers.${DOCKMON_APPNAME:-dockmon}.entrypoints=websecure"
|
||||
- "traefik.http.services.${DOCKMON_APPNAME:-dockmon}.loadbalancer.server.port=443"
|
||||
- "traefik.http.services.${DOCKMON_APPNAME:-dockmon}.loadbalancer.server.scheme=https"
|
||||
- "traefik.docker.network=traefik-proxy"
|
||||
- "traefik.http.routers.${DOCKMON_APPNAME:-dockmon}.tls.certresolver=le"
|
||||
|
||||
networks:
|
||||
traefik-proxy:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user