Deploy request module frontend

This commit is contained in:
2026-08-15 23:12:07 +03:00
parent 0e7d5ddbad
commit 1ccd170ae7
3 changed files with 55 additions and 5 deletions
+15 -5
View File
@@ -1,10 +1,10 @@
version: '3.8'
version: "3.8"
services:
app:
build: .
ports:
- "8000:8000"
expose:
- "8000"
environment:
- DATABASE_URL=postgresql://user:password@db:5432/service_request
- REDIS_URL=redis://redis:6379/0
@@ -20,7 +20,7 @@ services:
- TWILIO_FROM_NUMBER=+15017250604
- APP_ENV=development
- APP_DEBUG=True
- APP_CORS_ORIGINS=http://localhost:3000,http://localhost:5173
- APP_CORS_ORIGINS=http://192.168.1.36
- MANAGEENGINE_CONNECTION_STRING=
depends_on:
- db
@@ -31,6 +31,16 @@ services:
- /app/.venv
command: uvicorn request_app.main:app --host 0.0.0.0 --port 8000
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "80:80"
depends_on:
- app
restart: unless-stopped
db:
image: postgres:15
environment:
@@ -63,4 +73,4 @@ services:
volumes:
postgres_data:
redis_data:
rabbitmq_data:
rabbitmq_data: