118 lines
4.2 KiB
Plaintext
118 lines
4.2 KiB
Plaintext
# =============================================================================
|
|
# AMAR Room - Configuration Template
|
|
# =============================================================================
|
|
# Copy this to .env and fill in values for your environment.
|
|
# Uses absolute paths to plug soleprint to existing Dockerfiles.
|
|
# =============================================================================
|
|
|
|
# =============================================================================
|
|
# DEPLOYMENT
|
|
# =============================================================================
|
|
# Container name prefix (e.g., amar_backend, amar_db)
|
|
DEPLOYMENT_NAME=amar
|
|
|
|
# =============================================================================
|
|
# NETWORK
|
|
# =============================================================================
|
|
NETWORK_NAME=amar_network
|
|
|
|
# =============================================================================
|
|
# PATHS (absolute paths to external code/dockerfiles - REQUIRED)
|
|
# =============================================================================
|
|
BACKEND_PATH=/abs/path/to/amar_django_back
|
|
FRONTEND_PATH=/abs/path/to/amar_frontend
|
|
DOCKERFILE_BACKEND=/abs/path/to/Dockerfile.backend
|
|
DOCKERFILE_FRONTEND=/abs/path/to/Dockerfile.frontend
|
|
|
|
# =============================================================================
|
|
# DATABASE
|
|
# =============================================================================
|
|
# Database dump file (relative to dumps/ directory)
|
|
DB_DUMP=test.sql
|
|
|
|
# =============================================================================
|
|
# PORTS
|
|
# =============================================================================
|
|
BACKEND_PORT=8000
|
|
FRONTEND_PORT=3000
|
|
|
|
# Soleprint ports
|
|
SOLEPRINT_PORT=12000
|
|
ARTERY_PORT=12001
|
|
ATLAS_PORT=12002
|
|
STATION_PORT=12003
|
|
|
|
# =============================================================================
|
|
# BACKEND SERVER (Uvicorn)
|
|
# =============================================================================
|
|
# Dev: 1 worker with hot reload
|
|
# Prod: 4 workers without reload
|
|
BACKEND_WORKERS=1
|
|
BACKEND_RELOAD=--reload
|
|
|
|
# Database connection
|
|
POSTGRES_DB=amarback
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=your_secure_password_here
|
|
|
|
# =============================================================================
|
|
# DJANGO
|
|
# =============================================================================
|
|
SECRET_KEY=your_django_secret_key_here
|
|
DEBUG=False
|
|
ALLOWED_HOSTS=amar.room.mcrn.ar,localhost
|
|
DJANGO_ENV=production
|
|
|
|
# =============================================================================
|
|
# CORS
|
|
# =============================================================================
|
|
CORS_ALLOW_ALL=false
|
|
CORS_ALLOWED_ORIGINS=
|
|
|
|
# =============================================================================
|
|
# GOOGLE SERVICES
|
|
# =============================================================================
|
|
SUBJECT_CALENDAR=
|
|
SHEET_ID=
|
|
RANGE_NAME=
|
|
GOOGLE_MAPS_API_KEY=
|
|
|
|
# =============================================================================
|
|
# ANALYTICS
|
|
# =============================================================================
|
|
GA4_MEASUREMENT_ID=
|
|
AMPLITUDE_API_KEY=
|
|
HOTJAR_API_KEY=
|
|
|
|
# =============================================================================
|
|
# MERCADO PAGO
|
|
# =============================================================================
|
|
ACCESS_TOKEN_MERCADO_PAGO=
|
|
MP_PLATFORM_ACCESS_TOKEN=
|
|
USER_ID=
|
|
|
|
# =============================================================================
|
|
# WEB PUSH
|
|
# =============================================================================
|
|
WEBPUSH_VAPID_PUBLIC_KEY=
|
|
WEBPUSH_VAPID_PRIVATE_KEY=
|
|
WEBPUSH_VAPID_ADMIN_EMAIL=
|
|
|
|
# =============================================================================
|
|
# INIT
|
|
# =============================================================================
|
|
USER_PASSWORD=initial_admin_password
|
|
|
|
# =============================================================================
|
|
# FRONTEND
|
|
# =============================================================================
|
|
NEXT_PUBLIC_APP_API_URL_BACKOFFICE=
|
|
NEXT_PUBLIC_APP_API_URL_STAGE=
|
|
NEXT_PUBLIC_IS_STAGE=false
|
|
NEXT_PUBLIC_FB_PIXEL_ID=
|
|
NEXT_PUBLIC_TAG_MANAGER=
|
|
NEXT_PUBLIC_WHATSAPP_CONTACT=
|
|
NEXT_PUBLIC_API_KEY=
|
|
NEXT_PUBLIC_AMPLITUDE_API_KEY=
|
|
NEXT_PUBLIC_GMAPS_API_KEY=
|