-
Notifications
You must be signed in to change notification settings - Fork 179
/
docker-compose.yml
74 lines (73 loc) · 2 KB
/
docker-compose.yml
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: '3'
services:
emulator:
build: .
command: python3 -m opentrons.hardware_control.emulation.app
ports:
- '8888:8888'
- '9000:9000'
- '9002:9002'
- '9003:9003'
- '9004:9004'
- '9995:9995'
- '9997:9997'
- '9998:9998'
- '9999:9999'
networks:
- container-network
smoothie:
build: .
command: python3 -m opentrons.hardware_control.emulation.scripts.run_smoothie
ports:
- '9996:9996'
# Uncomment lines below to override the pipette(s) loaded by emulator
#environment:
# OT_EMULATOR_smoothie: '{"right": {"model": "p300_multi"}, "left": {"model": "p20_single_v2.0"}}'
networks:
- container-network
robot-server:
build: .
command: uvicorn "robot_server:app" --host 0.0.0.0 --port 31950 --ws wsproto --reload
ports:
- '31950:31950'
environment:
OT_API_CONFIG_DIR: /config
OT_SMOOTHIE_EMULATOR_URI: socket://smoothie:9996
OT_EMULATOR_module_server: '{"host": "emulator"}'
networks:
- container-network
depends_on:
- 'emulator'
- 'smoothie'
volumes:
- .opentrons_config:/config:rw
tempdeck:
build: .
command: python3 -m opentrons.hardware_control.emulation.scripts.run_module_emulator tempdeck emulator
networks:
- container-network
depends_on:
- 'emulator'
thermocycler:
build: .
command: python3 -m opentrons.hardware_control.emulation.scripts.run_module_emulator thermocycler emulator
networks:
- container-network
depends_on:
- 'emulator'
magdeck:
build: .
command: python3 -m opentrons.hardware_control.emulation.scripts.run_module_emulator magdeck emulator
networks:
- container-network
depends_on:
- 'emulator'
heatershaker:
build: .
command: python3 -m opentrons.hardware_control.emulation.scripts.run_module_emulator heatershaker emulator
networks:
- container-network
depends_on:
- 'emulator'
networks:
container-network: