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 "$@"