-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (53 loc) · 1.37 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
services:
redis:
image: redis:7.4-rc2-alpine
networks:
- qnet
ports:
- "127.0.0.1:6379:6379"
pvws:
build: ./pvws/docker
environment:
- EPICS_CA_ADDR_LIST=${EPICS_CA_ADDR_LIST}
- EPICS_CA_AUTO_ADDR_LIST=NO
- PV_WRITE_SUPPORT=true
network_mode: "host"
python-server:
build: ./python-server
environment:
- EPICS_CA_ADDR_LIST=${EPICS_CA_ADDR_LIST}
- EPICS_CA_AUTO_ADDR_LIST=NO
- ZMQ_HOST=localhost
- ZMQ_PORT=60625
network_mode: "host"
qserver:
build: ./queue-server
environment:
- EPICS_CA_ADDR_LIST=${EPICS_CA_ADDR_LIST}
- EPICS_CA_AUTO_ADDR_LIST=NO
network_mode: "host"
command: ["start-re-manager", "--zmq-publish-console", "ON", "--redis-addr", "127.0.0.1:6379", "--startup-dir", "/code/startup_blank", "--keep-re"]
depends_on:
- redis
qserver-api:
build: ./queue-server-api
environment:
- QSERVER_HTTP_SERVER_ALLOW_ORIGINS=*
- QSERVER_HTTP_SERVER_SINGLE_USER_API_KEY=test
network_mode: "host"
command: ["uvicorn", "--host", "localhost", "--port", "60610", "bluesky_httpserver.server:app"]
depends_on:
- qserver
frontend:
build: ./frontend
ports:
- "8081:80"
env_file:
- ./frontend/.env.production
depends_on:
- pvws
- python-server
- qserver-api
networks:
qnet:
driver: bridge