Eliminate ${VAR} substitutions from docker-compose.yml
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m41s

Move DATABASE_URL and POSTGRES_PASSWORD to .env via env_file.
docker stack deploy no longer needs env vars sourced, and
repeat deploys won't trigger spurious restarts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-06 22:06:40 +00:00
parent 5e45f24fba
commit 859ff0b835
2 changed files with 3 additions and 4 deletions

View File

@@ -55,7 +55,6 @@ jobs:
run: |
ssh "root@$DEPLOY_HOST" "
cd /root/art-dag/activity-pub
set -a && source .env && set +a
docker stack deploy -c docker-compose.yml activitypub
echo 'Waiting for services to update...'
sleep 10