feat: backend env config upgrade - multi-env (dev/prod), DB_* support, Docker compatible
Some checks failed
Build and Deploy / test-backend (push) Has been cancelled
Build and Deploy / build-backend (push) Has been cancelled
Build and Deploy / build-admin (push) Has been cancelled
Deploy to Production / build-backend (push) Has been cancelled
Deploy to Production / deploy (push) Has been cancelled
Some checks failed
Build and Deploy / test-backend (push) Has been cancelled
Build and Deploy / build-backend (push) Has been cancelled
Build and Deploy / build-admin (push) Has been cancelled
Deploy to Production / build-backend (push) Has been cancelled
Deploy to Production / deploy (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
10
backend/.env.example
Normal file
10
backend/.env.example
Normal file
@@ -0,0 +1,10 @@
|
||||
# Database (optional: set DATABASE_URL directly, or use DB_* below)
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5432
|
||||
DB_USER=wecom
|
||||
DB_PASSWORD=password
|
||||
DB_NAME=wecom
|
||||
DATABASE_URL=
|
||||
|
||||
# Sync URL for Alembic (optional; default: built from DB_*)
|
||||
# DATABASE_URL_SYNC=
|
||||
Reference in New Issue
Block a user