-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
50 lines (44 loc) · 966 Bytes
/
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
version: '3.6'
volumes:
exec_data:
services:
redis:
image: redis:latest
command: --port 5040
ports:
- "5040:5040"
networks:
- default
qiskit-service:
image: planqk/qiskit-service:latest
command: sh /app/startup.sh
ports:
- "5013:5013"
environment:
- REDIS_URL=redis://redis:5040
- DATABASE_URL=sqlite:////data/app.db
volumes:
- exec_data:/data
networks:
- default
rq-worker:
image: planqk/qiskit-service:latest
command: rq worker --url redis://redis:5040 qiskit-service_execute
environment:
- REDIS_URL=redis://redis:5040
- DATABASE_URL=sqlite:////data/app.db
volumes:
- exec_data:/data
depends_on:
- redis
deploy:
replicas: 2
rq-dashboard:
image: eoranged/rq-dashboard
ports:
- "9181:9181"
environment:
- RQ_DASHBOARD_REDIS_URL=redis://redis:5040
networks:
default:
driver: bridge