35 lines
1.3 KiB
YAML
35 lines
1.3 KiB
YAML
services:
|
|
downtify:
|
|
container_name: downtify
|
|
image: ghcr.io/henriquesebastiao/downtify:latest
|
|
restart: unless-stopped
|
|
# ports:
|
|
# - '7077:8000'
|
|
volumes:
|
|
- ./Downtify_downloads:/downloads
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.docker.network=proxy
|
|
- traefik.http.services.downtify.loadbalancer.server.port=8000
|
|
|
|
# Prod Router
|
|
- traefik.http.routers.downtify.rule=Host(`downtify.forust.xyz`)
|
|
- traefik.http.routers.downtify.entrypoints=websecure
|
|
- traefik.http.routers.downtify.middlewares=security-chain@file
|
|
- traefik.http.routers.downtify.tls=true
|
|
# Local Router
|
|
- traefik.http.routers.downtify-local.rule=Host(`downtify.workstation.internal`) || Host(`downtify.internal`)
|
|
- traefik.http.routers.downtify-local.entrypoints=websecure
|
|
- traefik.http.routers.downtify-local.middlewares=security-headers@file
|
|
- traefik.http.routers.downtify-local.tls=true
|
|
# Dev Router
|
|
- traefik.http.routers.downtify-dev.rule=Host(`downtify.gigaforust.internal`)
|
|
- traefik.http.routers.downtify-dev.entrypoints=websecure
|
|
- traefik.http.routers.downtify-dev.middlewares=security-chain@file
|
|
- traefik.http.routers.downtify-dev.tls=true
|
|
networks:
|
|
- proxy
|
|
networks:
|
|
proxy:
|
|
external: true
|