forked from SimpleHomelab/docker-traefik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunkwhale.yml
26 lines (25 loc) · 895 Bytes
/
funkwhale.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
# FunkWhale - Music Server
funkwhale:
<<: *common-keys-media # See EXTENSION FIELDS at the top
container_name: funkwhale
image: thetarkus/funkwhale
# ports:
# - "$FUNKWHALE_PORT:80"
volumes:
- $DOCKERDIR/appdata/funkwhale:/data
- $DATADIR/media/music:/music:ro
environment:
- PUID=$PUID
- PGID=$PGID
- FUNKWHALE_HOSTNAME=proxfw.$DOMAINNAME0
- NESTED_PROXY=1
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.funkwhale-rtr.entrypoints=https"
- "traefik.http.routers.funkwhale-rtr.rule=Host(`proxfw.$DOMAINNAME0`)"
## Middlewares
- "traefik.http.routers.funkwhale-rtr.middlewares=chain-no-auth@file"
## HTTP Services
- "traefik.http.routers.funkwhale-rtr.service=funkwhale-svc"
- "traefik.http.services.funkwhale-svc.loadbalancer.server.port=80"