fix: update environment variable handling in Docker Compose files and improve contributing documentation

This commit is contained in:
Thibault Pouch
2026-03-19 21:27:56 +01:00
parent 3714200dc1
commit 5268e7618b
6 changed files with 24 additions and 7 deletions

12
.env.example Normal file
View File

@@ -0,0 +1,12 @@
# Host-side port for the API container (container port remains 3000)
API_HOST_PORT=3001
DATABASE_URL="postgresql://user:password@localhost:5432/nest_db"
JWT_SECRET="change_me_to_a_long_random_string"
PORT=3000
ADMIN_USERNAME="admin"
ADMIN_EMAIL="admin@example.com"
ADMIN_PASSWORD="change_me"
FRONT_ORIGIN="http://localhost:5173"
INTRA_ORIGIN="http://localhost:5174"