Dockerisation de tout
This commit is contained in:
@@ -39,17 +39,16 @@ services:
|
||||
- ./backend/models:/app/models
|
||||
restart: unless-stopped
|
||||
|
||||
# Frontend (development mode - for production use static build)
|
||||
# frontend:
|
||||
# build: ./frontend
|
||||
# container_name: audio_classifier_ui
|
||||
# environment:
|
||||
# NEXT_PUBLIC_API_URL: http://localhost:8000
|
||||
# ports:
|
||||
# - "3000:3000"
|
||||
# depends_on:
|
||||
# - backend
|
||||
# restart: unless-stopped
|
||||
frontend:
|
||||
build: ./frontend
|
||||
container_name: audio_classifier_ui
|
||||
environment:
|
||||
NEXT_PUBLIC_API_URL: http://backend:8000
|
||||
ports:
|
||||
- "3000:3000"
|
||||
depends_on:
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
|
||||
Reference in New Issue
Block a user