deploy/ builds what mf.toml builds; the secrets MF had are in fnox.toml (Elias + the HEAD VPS key); db apply once per deployment, then the server behind Caddy.
10 lines
488 B
YAML
10 lines
488 B
YAML
# yaml-language-server: $schema=https://doco.cd/v0.132/schemas/deploy.schema.json
|
|
# Deployed on the HEAD VPS by doco-cd (see head-vps) from its Forgejo repository
|
|
# git.fuckingtech.ch/headpoolnumerique/fuckingtech: `git push forge main` builds deploy/Dockerfile there and restarts.
|
|
name: fuckingtech
|
|
working_dir: deploy
|
|
compose_files: [compose.yaml]
|
|
environment:
|
|
FT_DOMAIN: fuckingtech.ch
|
|
# A cold build (pnpm install, Vite, deno compile) on 4 vCPU takes several minutes.
|
|
timeout: 1800
|