-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
50 lines (47 loc) · 1.13 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
name: example_workcell
services:
###########
# Modules #
###########
camera_node:
image: ghcr.io/ad-sdl/camera_module
container_name: camera_node
privileged: true # needed for hardware access
ports:
- 2001:2001
command: python -m camera_rest_node --port 2001
env_file:
- .env
#####################
# WEI Core Services #
#####################
wei_server:
image: ghcr.io/ad-sdl/wei
container_name: wei_server
ports:
- 8000:8000
volumes:
- ./workcells:/workcells
- ${WEI_DATA_DIR}:/home/app/.wei
environment:
- USER_ID=${USER_ID:-1000}
- GROUP_ID=${GROUP_ID:-1000}
command: python3 -m wei.server --workcell /workcells/${WORKCELL_FILENAME}
depends_on:
- wei_redis
utilities:
image: ghcr.io/ad-sdl/wei
container_name: utilities
ports:
- 8001:8001
command: 'python3 -m wei.modules.utility_module
--port 8001
--alias utilities'
wei_redis:
image: redis
container_name: wei_redis
ports:
- 6379:6379
volumes:
- ${REDIS_DIR}:/data
command: redis-server --save 60 1 --loglevel warning