Files
Faved/docker-compose-treafik.yml
2026-05-01 14:44:37 -05:00

31 lines
799 B
YAML

version: "3.8"
services:
faved:
image: denho/faved:latest
networks:
- pangolin_public
volumes:
- /mnt/DockerStorage/data/faved:/var/www/html/storage
- /mnt/DockerStorage/data/faved/temp:/tmp
deploy:
replicas: 1
restart_policy:
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.docker.network=pangolin_public"
- "traefik.http.routers.faved.rule=Host(`faved.yourdomain.com`)"
- "traefik.http.routers.faved.entrypoints=websecure"
- "traefik.http.routers.faved.tls=true"
# Faved listens on 80 in the container (official usage) 【3-77eeac】【4-bef2e6】
- "traefik.http.services.faved.loadbalancer.server.port=80"
networks:
pangolin_public:
external: true