testing sabnzbd & behind traefik (successfully) and hass behind traefik (unsuccessfully)
This commit is contained in:
@@ -295,10 +295,33 @@ services:
|
||||
- /export/docker/container/hass:/config
|
||||
environment:
|
||||
- TZ=Australia/Melbourne
|
||||
restart: always
|
||||
ports:
|
||||
- "8123:8123"
|
||||
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
|
||||
# weirdy, ONLY, user-generated networks allow DNS service discovery
|
||||
|
||||
Reference in New Issue
Block a user