gRPC and worker
This commit is contained in:
@@ -1,21 +1,28 @@
|
||||
# MPR Control Environment
|
||||
# Copy to .env and adjust values
|
||||
# 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}
|
||||
|
||||
# Ports (less common to avoid conflicts)
|
||||
POSTGRES_PORT=5433
|
||||
REDIS_PORT=6380
|
||||
DJANGO_PORT=8701
|
||||
FASTAPI_PORT=8702
|
||||
TIMELINE_PORT=5173
|
||||
# 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
|
||||
|
||||
# Remote deployment (optional)
|
||||
# SERVER=user@host
|
||||
# REMOTE_PATH=~/mpr
|
||||
# gRPC
|
||||
GRPC_HOST=grpc
|
||||
GRPC_PORT=50051
|
||||
GRPC_MAX_WORKERS=10
|
||||
|
||||
Reference in New Issue
Block a user