sabnzbd
version: '3.6'
services:
traefik:
container_name: traefik
domainname: ${DOMAINNAME}
image: traefik
restart: unless-stopped
command: --api.insecure=true --providers.docker --providers.docker.exposedbydefault=false --entrypoints.web.address=:80 #--providers.docker.defaultRule="Host(`${DOMAINNAME}`)"
ports:
- "80:80"
- "443:443"
- "8080:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
- default
- discovery
dns:
- ${DNS}
sabnzbd:
image: 'linuxserver/sabnzbd'
container_name: 'sabnzbd'
volumes:
- ./sabnzbd/sabnzbd.ini:/config/sabnzbd.ini
- sabnzbd-config:/config
- samba:/samba
restart: always
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
networks:
- discovery
depends_on:
- traefik
labels:
- "traefik.enable=true"
- "traefik.http.routers.sabnzbd.rule=Host(`sabnzbd.${DOMAINNAME}`)"
- "traefik.http.routers.sabnzbd.entrypoints=web"
- "traefik.http.services.sabnzbd.loadbalancer.server.port=8080"
samba:
image: dperson/samba
environment:
- TZ=${TZ}
- WORKGROUP=WORKGROUP
- USER=bodo;supersecret
- USERID=${PUID}
- GROUPID=${PGID}
- PERMISSIONS
networks:
- default
ports:
- '137:137/udp'
- '138:138/udp'
- '139:139/tcp'
- '445:445/tcp'
read_only: true
tmpfs:
- /tmp
restart: unless-stopped
stdin_open: true
tty: true
volumes:
- samba:/mnt:z
command:
-s "tmp;/mnt/tmp;no;no;no;bodo"
-s "downloads;/mnt/downloads;no;no;no;bodo"
-s "watch;/mnt/watch;no;no;no;bodo"
volumes:
sabnzbd-config:
samba:
networks:
discovery:
default:
driver: bridge
No Comments