homelab/files/docker/fedi/docker-stack.yaml
2025-02-10 16:53:23 -03:00

40 lines
975 B
YAML

services:
hollo:
image: ghcr.io/fedify-dev/hollo:canary
env_file:
- .env
deploy:
rollback_config:
failure_action: continue
update_config:
delay: 2s
failure_action: rollback
order: start-first
placement:
constraints:
- node.labels.services_kind==${SERVICE_KIND:-common}
labels:
- traefik.enable=true
- traefik.http.routers.hollo.rule=Host(`hollo.alecodes.page`)
- traefik.http.services.hollo.loadbalancer.server.port=3000
hollo_db:
image: postgres:17
restart: unless-stopped
env_file:
- .env
volumes:
- hollo_db:/var/lib/postgresql/data
deploy:
rollback_config:
failure_action: continue
update_config:
delay: 2s
failure_action: rollback
order: start-first
placement:
constraints:
- node.labels.services_kind==${SERVICE_KIND:-common}
volumes:
hollo_db: