File size: 576 Bytes
a985b94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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