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