From f6ce809ebba17a50a676086b38d6a2e1b3f1c90c Mon Sep 17 00:00:00 2001 From: Gandalf Date: Sun, 4 Jan 2026 23:27:58 +0100 Subject: [PATCH] Write docker/.env on deploy for compose ps/logs commands --- .gitignore | 1 + scripts/deploy.sh | 12 ++++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 46ac61f93..446fbe1af 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ apps/blog/test.env stack/certs/cert.pem stack/certs/key.pem Close +docker/.env diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 6cf7917e0..57b46adbc 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -123,9 +123,17 @@ export BLOG_ENV_FILE export WALLET_ENV_FILE cd "$COMPOSE_DIR" + +# Write .env for subsequent docker compose commands (ps, logs, etc.) +cat > .env <