feat: add initial Docker Compose infrastructure

This commit is contained in:
2026-04-28 11:08:06 +02:00
parent 18ab0a8b99
commit 04f31c5105
15 changed files with 279 additions and 14 deletions

24
.env.example Normal file
View File

@@ -0,0 +1,24 @@
# AzioneLab Docker Compose example environment.
# Copy this file to .env and replace placeholder values before deployment.
COMPOSE_PROJECT_NAME=azionelab
NGINX_HTTP_PORT=8080
BACKEND_HOST=backend
BACKEND_PORT=8000
FRONTEND_HOST=frontend
FRONTEND_PORT=8080
DJANGO_SECRET_KEY=change-me
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1
DJANGO_CSRF_TRUSTED_ORIGINS=http://localhost:8080
DJANGO_DEBUG=false
POSTGRES_DB=azionelab
POSTGRES_USER=azionelab
POSTGRES_PASSWORD=change-me
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
DATABASE_URL=postgres://azionelab:change-me@postgres:5432/azionelab