feat: add hollo service

This commit is contained in:
Alexander Navarro 2025-02-10 16:53:23 -03:00
parent c48fdfe84f
commit e87e6521a6
4 changed files with 41 additions and 0 deletions

View file

@ -1,4 +1,5 @@
file_ids:
- .env
- files/docker/fedi/.env
- roles/common/files/robo_key
version: "1"

BIN
.env.agebox Normal file

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,40 @@
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: