Remove ALLOWED_ORIGINS from docker-compose - use default from config
This commit is contained in:
@@ -7,11 +7,10 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
container_name: family-hub-backend
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "8001:8000"
|
||||
environment:
|
||||
- DATABASE_URL=sqlite:///./family_hub.db
|
||||
- SECRET_KEY=${SECRET_KEY:-your-secret-key-change-in-production}
|
||||
- ALLOWED_ORIGINS=http://localhost:5173,http://localhost:3000
|
||||
- DEBUG=True
|
||||
volumes:
|
||||
- ./backend:/app
|
||||
@@ -32,7 +31,7 @@ services:
|
||||
- ./frontend:/app
|
||||
- /app/node_modules
|
||||
environment:
|
||||
- VITE_API_URL=http://localhost:8000
|
||||
- VITE_API_URL=http://localhost:8001
|
||||
depends_on:
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user