| services: | |
| backend: | |
| build: | |
| context: ./backend | |
| dockerfile: Dockerfile | |
| ports: | |
| - "8000:8000" | |
| env_file: | |
| - ./backend/.env | |
| environment: | |
| - ALLOWED_ORIGINS=http://localhost:80,http://localhost:5173 | |
| volumes: | |
| - ./backend/outputs:/app/outputs | |
| restart: unless-stopped | |
| frontend: | |
| build: | |
| context: ./frontend | |
| dockerfile: Dockerfile | |
| ports: | |
| - "80:80" | |
| environment: | |
| - VITE_API_URL=http://localhost:8000 | |
| depends_on: | |
| - backend | |
| restart: unless-stopped | |