Replace Traefik with Caddy as proxy
This commit is contained in:
parent
fdd4b6faf1
commit
a3944d3867
10 changed files with 69 additions and 122 deletions
|
@ -1,6 +1,6 @@
|
|||
services:
|
||||
|
||||
app:
|
||||
pyload:
|
||||
image: linuxserver/pyload-ng
|
||||
environment:
|
||||
- PUID=1000
|
||||
|
@ -9,16 +9,9 @@ services:
|
|||
volumes:
|
||||
- ${VOLUMES_PATH}/download/pyload:/config
|
||||
- ${DOWNLOAD_PATH}:/downloads
|
||||
# ports:
|
||||
#- 7227:7227 #optional Thrift Backend
|
||||
networks:
|
||||
- web
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.pyload.rule=Host(`download.${DOMAIN}`)"
|
||||
- "traefik.http.routers.pyload.entrypoints=web"
|
||||
- "traefik.http.services.pyload.loadbalancer.server.port=8000"
|
||||
- "docker.group=selfhost"
|
||||
- "docker.group=download"
|
||||
restart: unless-stopped
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue