semiconductor / docker-compose.yml
Scribbler310
Production deployment with LFS models
a985b94
raw
history blame contribute delete
576 Bytes
services:
backend:
build:
context: .
dockerfile: backend/Dockerfile
ports:
- "8000:8000"
# Ensure the container has access to the environment variables
env_file:
- ./backend/.env
# Optional: Mount the SQLite DB so changes persist
volumes:
- ./middleware/wafer_control.db:/app/middleware/wafer_control.db
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
# Map the Nginx internal port 80 to 5173 to match the dev environment
- "5173:80"
depends_on:
- backend