diff --git a/.gitignore b/.gitignore index 46ac61f93f0e594c9aff1c22bcd9db650017ebf4..446fbe1af080f42d761fdb6239049e708428d2bd 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 6cf7917e0147755e1620ce68e520aee0f471fd35..57b46adbca65be7a278a25b7fa170072285ceb67 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 <