# 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 deploy@app.example.com # 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=