update .env.example and docker config

This commit is contained in:
2025-06-27 20:52:16 +01:00
parent 933b4cb5a6
commit 98ebb1600f
2 changed files with 13 additions and 7 deletions

View File

@@ -1,3 +1,9 @@
DATABASE_URL=postgresql+asyncpg://codetutor:codetutor@localhost:5432/codetutor
# Database connection - REQUIRED
# Format: postgresql+asyncpg://USER:PASSWORD@HOST:PORT/DATABASE
DATABASE_URL=postgresql+asyncpg://user:password@localhost:5432/codetutor
# Debug mode (optional, default: false)
DEBUG=false
# CORS allowed origins (optional, default: ["http://localhost:3000"])
CORS_ORIGINS=["http://localhost:3000"]