-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (36 loc) · 1.07 KB
/
docker-compose.yml
File metadata and controls
38 lines (36 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# READ THIS:
# - re-run `docker compose up --build --force-recreate` when you wanna test your code
# - You may need to change the "source" path below to your system's serial port path, but
# don't commit that change since it's system-specific. Also, ONLY CHANGE THE SOURCE, not
# the "target:" path below.
networks:
chessbot:
services:
web-stack:
container_name: chessbot-web-stack
# image: ghcr.io/collinroboticsclub/chessbot-web-stack:latest
build:
context: ./web-stack
dockerfile: ./Dockerfile
privileged: true
networks:
- chessbot
volumes:
- type: bind
source: /dev/ttyUSB0 # might need to change this
target: /dev/ttyUSB0 # DO NOT CHANGE THIS ONE
ports:
- 8000:8000
# restart: unless-stopped
camera-processor:
container_name: chessbot-camera-processor
# image: ghcr.io/collinroboticsclub/chessbot-opencv:latest
build:
context: ./opencv
dockerfile: ./Dockerfile
privileged: true
networks:
- chessbot
ports:
- 8001:8000
# restart: unless-stopped