head-vps/.doco-cd.yml

53 lines
1.3 KiB
YAML

# yaml-language-server: $schema=https://doco.cd/v0.132/schemas/deploy.schema.json
#
# The base stacks of the HEAD VPS. doco-cd watches this repository (a bare repo on the host,
# /srv/git/head-vps.git) and applies every stack below on each push to main. Apps live in their
# own repositories, each with its own .doco-cd.yml, listed in doco-cd/compose.yaml's POLL_CONFIG.
#
# doco-cd deploys itself (SELF_UPDATE_ENABLED): name and service must match the project created
# by bootstrap.sh, or a second doco-cd starts next to the first.
name: doco-cd
working_dir: doco-cd
compose_files: [compose.yaml]
env_files: [../site.env]
timeout: 120
---
name: caddy
working_dir: caddy
compose_files: [compose.yaml]
env_files: [../site.env]
---
name: forgejo
working_dir: forgejo
compose_files: [compose.yaml]
env_files: [../site.env]
timeout: 600
---
name: hypercomics
working_dir: hypercomics
compose_files: [compose.yaml]
env_files: [../site.env]
---
# The DNS workflow: one `tofu apply` (dns/apply.sh) whenever dns/ changes.
name: dns
working_dir: dns
compose_files: [compose.yaml]
timeout: 600
---
name: rustfs
working_dir: rustfs
compose_files: [compose.yaml]
env_files: [../site.env]
timeout: 600
---
name: sharp
working_dir: sharp
compose_files: [compose.yaml]
env_files: [../site.env]
timeout: 600