Add the example stack payloads

The files copied to /srv/stacks/<stack>/ verbatim: compose files, vhosts,
Prometheus configuration, the webapp image source. Payloads are data, never
templated and never linted as Ansible content.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
Lucas Winther
2026-09-16 03:58:01 +02:00
co-authored by Claude Opus 5
parent 7b52e9af9e
commit b76c76e3b0
16 changed files with 399 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# Copy to .env ON THE HOST, not here. The compose_stack role excludes .env from
# every sync (stack_exclude), so a .env committed to this repository would be
# ignored, and a host's .env is never overwritten by a deploy.
#
# ssh [email protected]
# cd /srv/stacks/webapp && cp .env.example .env && $EDITOR .env
#
# webapp.yml refuses to deploy if .env is absent on the host, because every
# variable below is required with no default.
POSTGRES_PASSWORD=
SECRET_KEY=