generated from bisco/codex-bootstrap
35 lines
979 B
Plaintext
35 lines
979 B
Plaintext
# AzioneLab Docker Compose example environment.
|
|
# Copy this file to .env and replace placeholder values before deployment.
|
|
|
|
COMPOSE_PROJECT_NAME=azionelab
|
|
|
|
NGINX_HTTP_PORT=80
|
|
|
|
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
|
|
DJANGO_DEBUG=true
|
|
CORS_ALLOWED_ORIGINS=http://localhost:4200,http://localhost
|
|
SITE_BASE_URL=http://localhost
|
|
TIME_ZONE=Europe/Rome
|
|
EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend
|
|
DEFAULT_FROM_EMAIL=no-reply@azionelab.local
|
|
|
|
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
|
|
|
|
ENVIRONMENT=local
|
|
|
|
# Local convention: nginx is the public entrypoint on http://localhost.
|
|
# If you change the published nginx port, update SITE_BASE_URL and trusted origins to match.
|