From 2f54aeb19ef24ffa1806b57d603183d24fbc25da Mon Sep 17 00:00:00 2001 From: Abhimanyu Saharan Date: Fri, 27 Feb 2026 23:28:02 +0530 Subject: [PATCH] fix(installer): create backend .env before docker compose up --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 25f93b7d..0133c90a 100755 --- a/install.sh +++ b/install.sh @@ -737,6 +737,8 @@ main() { upsert_env_value "$REPO_ROOT/.env" "CORS_ORIGINS" "http://$public_host:$frontend_port" if [[ "$deployment_mode" == "docker" ]]; then + ensure_file_from_example "$REPO_ROOT/backend/.env" "$REPO_ROOT/backend/.env.example" + upsert_env_value "$REPO_ROOT/.env" "DB_AUTO_MIGRATE" "true" info "Starting production-like Docker stack..." @@ -825,4 +827,4 @@ Stop local background services: SUMMARY } -main "$@" \ No newline at end of file +main "$@"