testing sabnzbd & behind traefik (successfully) and hass behind traefik (unsuccessfully)

This commit is contained in:
2020-06-17 14:05:54 +10:00
parent 22979d659e
commit 20a6a8a655

View File

@@ -295,10 +295,33 @@ services:
- /export/docker/container/hass:/config - /export/docker/container/hass:/config
environment: environment:
- TZ=Australia/Melbourne - TZ=Australia/Melbourne
restart: always
ports:
- "8123:8123"
network_mode: host network_mode: host
restart: always
labels:
- "traefik.enable=true"
- "traefik.http.routers.hass.rule=PathPrefix(`/hass/`)"
- "traefik.http.services.hass.loadbalancer.server.port=8123"
- "traefik.http.middlewares.stripprefix-hass.stripprefix.prefixes=/hass"
- "traefik.http.routers.hass.middlewares=stripprefix-hass@docker"
- "traefik.http.routers.hass.entrypoints=web"
sabnzbd:
image: linuxserver/sabnzbd
container_name: sabnzbd
restart: unless-stopped
environment:
- PUID=500
- PGID=500
- TZ=Australia/Melbourne
volumes:
- /export/docker/container/sabnzbd/:/config
- /export/docker/storage/downloads:/downloads
- /export/docker/storage/incomplete-downloads:/incomplete-downloads
labels:
- "traefik.enable=true"
- "traefik.http.routers.sabnzbd.rule=PathPrefix(`/sabnzbd/`)"
- "traefik.http.routers.sabnzbd.entrypoints=web"
# override the default network to use the "user-generated" plex-net # override the default network to use the "user-generated" plex-net
# weirdy, ONLY, user-generated networks allow DNS service discovery # weirdy, ONLY, user-generated networks allow DNS service discovery