django and fastapi apps
This commit is contained in:
23
.env.template
Normal file
23
.env.template
Normal file
@@ -0,0 +1,23 @@
|
||||
# MPR Environment Configuration
|
||||
# Copy to .env and adjust values as needed
|
||||
|
||||
# Database
|
||||
POSTGRES_DB=mpr
|
||||
POSTGRES_USER=mpr_user
|
||||
POSTGRES_PASSWORD=mpr_pass
|
||||
POSTGRES_HOST=postgres
|
||||
POSTGRES_PORT=5432
|
||||
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
|
||||
|
||||
# Redis
|
||||
REDIS_HOST=redis
|
||||
REDIS_PORT=6379
|
||||
REDIS_URL=redis://${REDIS_HOST}:${REDIS_PORT}/0
|
||||
|
||||
# Django
|
||||
DEBUG=1
|
||||
DJANGO_SETTINGS_MODULE=mpr.settings
|
||||
SECRET_KEY=change-this-in-production
|
||||
|
||||
# Worker
|
||||
MPR_EXECUTOR=local
|
||||
Reference in New Issue
Block a user