-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
58 lines (57 loc) · 1.45 KB
/
compose.yaml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: camera_module
services:
camera_module:
container_name: camera_module
image: ${IMAGE}
build:
context: .
dockerfile: Dockerfile
tags:
- ${IMAGE}:latest
- ${IMAGE}:dev
command: python -m camera_rest_node --port 2000
privileged: true
env_file: .env
volumes:
- ${DEVICE}:/dev/video0
# - ./src:/home/app/camera_module/src
# - ./tests:/home/app/camera_module/tests
ports:
- 2000:2000
#####################
# WEI Core Services #
#####################
wei_server:
image: ghcr.io/ad-sdl/wei
container_name: wei_server
ports:
- 8000:8000
env_file: .env
environment:
- PYTHONUNBUFFERED=1 # Fix weird bug with empty logging
volumes:
- ${WORKCELLS_DIR}:/workcell_defs
command: python3 -m wei.server --workcell /workcell_defs/${WORKCELL_FILENAME}
depends_on:
- wei_redis
profiles: [wei]
wei_engine:
image: ghcr.io/ad-sdl/wei
container_name: wei_engine
volumes:
- ${WORKCELLS_DIR}:/workcell_defs
env_file: .env
environment:
- PYTHONUNBUFFERED=1 # Fix weird bug with empty logging
command: python3 -m wei.engine --workcell /workcell_defs/${WORKCELL_FILENAME}
depends_on:
- wei_redis
- wei_server
profiles: [wei]
wei_redis:
image: redis
container_name: wei_redis
ports:
- 6379:6379
command: redis-server --save 60 1 --loglevel warning
profiles: [wei]