6c86f0f571
- integrated request-module into module registry - moved backend into modules/request-module - added manifest.json and module.py - implemented dynamic router mounting - implemented dynamic static mounting - removed direct dependencies from platform core - verified startup with request-module - verified startup without request-module - added implementation_report_003.md
67 lines
1.5 KiB
YAML
67 lines
1.5 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
app:
|
|
build: .
|
|
ports:
|
|
- "8000:8000"
|
|
environment:
|
|
- DATABASE_URL=postgresql://user:password@db:5432/service_request
|
|
- REDIS_URL=redis://redis:6379/0
|
|
- RABBITMQ_URL=amqp://guest:guest@rabbitmq:5672/
|
|
- JWT_SECRET_KEY=dev-secret-key-change-in-production
|
|
- SMTP_SERVER=smtp.gmail.com
|
|
- SMTP_PORT=465
|
|
- SMTP_USERNAME=your-email@gmail.com
|
|
- SMTP_PASSWORD=your-app-password
|
|
- EMAIL_FROM=your-email@gmail.com
|
|
- TWILIO_ACCOUNT_SID=your-twilio-account-sid
|
|
- TWILIO_AUTH_TOKEN=your-twilio-auth-token
|
|
- TWILIO_FROM_NUMBER=+15017250604
|
|
- APP_ENV=development
|
|
- APP_DEBUG=True
|
|
- APP_CORS_ORIGINS=http://localhost:3000,http://localhost:5173
|
|
- MANAGEENGINE_CONNECTION_STRING=
|
|
depends_on:
|
|
- db
|
|
- redis
|
|
- rabbitmq
|
|
volumes:
|
|
- .:/app
|
|
- /app/.venv
|
|
command: tail -f /dev/null
|
|
|
|
db:
|
|
image: postgres:15
|
|
environment:
|
|
- POSTGRES_USER=user
|
|
- POSTGRES_PASSWORD=password
|
|
- POSTGRES_DB=service_request
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
ports:
|
|
- "5432:5432"
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
ports:
|
|
- "6379:6379"
|
|
volumes:
|
|
- redis_data:/data
|
|
|
|
rabbitmq:
|
|
image: rabbitmq:3-management
|
|
ports:
|
|
- "5672:5672"
|
|
- "15672:15672"
|
|
environment:
|
|
- RABBITMQ_DEFAULT_USER=guest
|
|
- RABBITMQ_DEFAULT_PASS=guest
|
|
volumes:
|
|
- rabbitmq_data:/var/lib/rabbitmq
|
|
|
|
volumes:
|
|
postgres_data:
|
|
redis_data:
|
|
rabbitmq_data:
|