feat: add hollo service
This commit is contained in:
parent
c48fdfe84f
commit
e87e6521a6
4 changed files with 41 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
file_ids:
|
file_ids:
|
||||||
- .env
|
- .env
|
||||||
|
- files/docker/fedi/.env
|
||||||
- roles/common/files/robo_key
|
- roles/common/files/robo_key
|
||||||
version: "1"
|
version: "1"
|
||||||
|
|
|
||||||
BIN
.env.agebox
Normal file
BIN
.env.agebox
Normal file
Binary file not shown.
BIN
files/docker/fedi/.env.agebox
Normal file
BIN
files/docker/fedi/.env.agebox
Normal file
Binary file not shown.
40
files/docker/fedi/docker-stack.yaml
Normal file
40
files/docker/fedi/docker-stack.yaml
Normal 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:
|
||||||
Loading…
Add table
Add a link
Reference in a new issue