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]>
12 lines
475 B
Bash
12 lines
475 B
Bash
# 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=
|