Files
Faved/docker-compose.yml
2026-05-01 14:14:51 -05:00

25 lines
864 B
YAML

version: "3.8"
services:
faved:
image: denho/faved:latest
# Publish ports directly (Swarm routing mesh)
# Faved's official compose supports PORT and SSL_PORT defaults. 【2-51ff7c】
ports:
- "${PORT:-8080}:80"
- "${SSL_PORT:-8443}:443"
volumes:
# Required persistence (bookmarks, tags, users, etc.) 【1-fe9697】【3-512901】
- /mnt/DockerStorage/data/faved:/var/www/html/storage
# These match the official compose layout (optional but recommended) 【2-51ff7c】
- /mnt/DockerStorage/data/faved/temp:/tmp
- /mnt/DockerStorage/config/faved/apache:/etc/apache2/sites-enabled
- /mnt/DockerStorage/config/faved/apache:/etc/letsencrypt
deploy:
replicas: 1
restart_policy:
condition: on-failure
placement:
constraints:
- node.platform.os == linux