-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
101 lines (93 loc) · 2.21 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
version: '3.6'
volumes:
exec_data:
services:
db:
image: postgres
environment:
POSTGRES_PASSWORD: nisq
POSTGRES_USER: nisq
POSTGRES_DB: nisq
command: -p 5060
ports:
- "5060:5060"
nisq-analyzer:
image: planqk/nisq-analyzer:latest
environment:
POSTGRES_HOSTNAME: db
POSTGRES_PORT: 5060
POSTGRES_USER: nisq
POSTGRES_PASSWORD: nisq
POSTGRES_DB: nisq
# activate correct application properties
SPRING_PROFILES_ACTIVE: docker
TRANSLATOR_HOSTNAME: quantum-transpiler
TRANSLATOR_PORT: 5012
# Configuration of the SDK Connector Services
QISKIT_HOSTNAME: qiskit-service
QISKIT_PORT: 5013
FOREST_HOSTNAME: forest-service
FOREST_PORT: 5014
PYTKET_HOSTNAME: pytket-service
PYTKET_PORT: 5015
# Configure Prioritization Service connection
PRIORITIZATION_HOSTNAME: qhana-plugin-runner
PRIORITIZATION_PORT: 8080
# Configuration for QProv
QPROV_HOSTNAME: localhost
QPROV_PORT: 5020
ports:
- '5010:5010'
networks:
- default
nisq-analyzer-ui:
image: planqk/nisq-analyzer-ui:latest
environment:
NISQ_ANALYZER_HOST_NAME: localhost
NISQ_ANALYZER_PORT: 6473
ports:
- '80:80'
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
qiskit-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
redis:
image: redis:6.2.2
ports:
- "5040:5040"
command: --port 5040
networks:
- default
gateway:
image: planqk/gateway:latest
environment:
NISQ_ANALYZER_URI: http://nisq-analyzer:5010
ports:
- '6473:6473'
networks:
- default
networks:
default:
driver: bridge