From 8c86fffa538cfe5c5b2f3e59619d1e8a13c9c165 Mon Sep 17 00:00:00 2001 From: Wheelz Date: Fri, 1 May 2026 14:05:32 -0500 Subject: [PATCH] First Commit --- docker-compose.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..b862de1 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,40 @@ +version: "3.8" + +services: + faved: + image: denho/faved:latest + networks: + - faved_net + + # Publish ports directly (Swarm routing mesh) + # Faved's official compose supports PORT and SSL_PORT defaults. 【2-51ff7c】 + ports: + - target: 80 + published: 8282 + protocol: tcp + mode: ingress + - target: 443 + published: 8443 + protocol: tcp + mode: ingress + + 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 + +networks: + faved_net: + driver: overlay + attachable: true \ No newline at end of file