forked from SimpleHomelab/docker-traefik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathampache.yml
28 lines (28 loc) · 898 Bytes
/
ampache.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
# Ampache - Music Server
ampache:
container_name: ampache
image: ampache/ampache:nosql
restart: "no"
# profiles:
# - media
networks:
- t2_proxy
- default
security_opt:
- no-new-privileges:true
# ports:
# - "$AMPACHE_PORT:80"
volumes:
- $DOCKERDIR/appdata/ampache/config:/var/www/config
- $DOCKERDIR/appdata/ampache/log:/var/log/ampache
- $DATADIR/media/music:/media
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.ampache-rtr.entrypoints=https"
- "traefik.http.routers.ampache-rtr.rule=Host(`amp.$DOMAINNAME0`)"
## Middlewares
- "traefik.http.routers.ampache-rtr.middlewares=chain-no-auth@file"
## HTTP Services
- "traefik.http.routers.ampache-rtr.service=ampache-svc"
- "traefik.http.services.ampache-svc.loadbalancer.server.port=80"