forked from SimpleHomelab/docker-traefik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgonic.yml
32 lines (32 loc) · 958 Bytes
/
gonic.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Gonic - Music Server
gonic:
container_name: gonic
image: sentriz/gonic:latest
restart: "no"
# profiles:
# - media
networks:
- t2_proxy
security_opt:
- no-new-privileges:true
# ports:
# - "$GONIC_PORT:80"
volumes:
- $DOCKERDIR/appdata/gonic/data:/data
- $DOCKERDIR/appdata/gonic/podcasts:/podcasts
- $DATADIR/transcode/gonic:/cache
- $DATADIR/media/music:/music:ro
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TZ
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.gonic-rtr.entrypoints=https"
- "traefik.http.routers.gonic-rtr.rule=Host(`gonic.$DOMAINNAME0`)"
## Middlewares
- "traefik.http.routers.gonic-rtr.middlewares=chain-no-auth@file"
## HTTP Services
- "traefik.http.routers.gonic-rtr.service=gonic-svc"
- "traefik.http.services.gonic-svc.loadbalancer.server.port=80"