Simplifying compose

This commit is contained in:
2026-05-01 14:10:31 -05:00
parent 8c86fffa53
commit 931932fcf5

View File

@@ -3,20 +3,10 @@ version: "3.8"
services: services:
faved: faved:
image: denho/faved:latest image: denho/faved:latest
networks:
- faved_net
# Publish ports directly (Swarm routing mesh) # Publish ports directly (Swarm routing mesh)
# Faved's official compose supports PORT and SSL_PORT defaults. 【2-51ff7c】 # Faved's official compose supports PORT and SSL_PORT defaults. 【2-51ff7c】
ports: ports:
- target: 80 - 8282:80
published: 8282
protocol: tcp
mode: ingress
- target: 443
published: 8443
protocol: tcp
mode: ingress
volumes: volumes:
# Required persistence (bookmarks, tags, users, etc.) 【1-fe9697】【3-512901】 # Required persistence (bookmarks, tags, users, etc.) 【1-fe9697】【3-512901】
@@ -33,8 +23,3 @@ services:
placement: placement:
constraints: constraints:
- node.platform.os == linux - node.platform.os == linux
networks:
faved_net:
driver: overlay
attachable: true