-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdocker-compose.yml
95 lines (93 loc) · 2.13 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
version: '3'
volumes:
exec_data:
services:
### Camunda Engine ###
camunda-engine:
build: camunda
ports:
- 8080:8080
networks:
- modulo-demo
### OpenTOSCA Ecosystem ###
container:
image: opentosca/container:v3.0.0
ports:
- '1337:1337'
- '8081-8087:8081-8087'
environment:
CONTAINER_HOSTNAME: $PUBLIC_HOSTNAME
ENGINE_IA_HOSTNAME: engine-ia
ENGINE_IA_PORT: 8080
ENGINE_PLAN_BPEL_HOSTNAME: engine-plan
CONTAINER_DEPLOYMENT_TESTS: 'false'
networks:
- modulo-demo
engine-plan:
image: opentosca/ode:v2.4.0
networks:
- modulo-demo
engine-ia:
image: opentosca/engine-ia:v2.1.0
networks:
- modulo-demo
winery:
build: initialized-winery
logging:
driver: none
ports:
- '8093:8080'
environment:
WINERY_HOSTNAME: $PUBLIC_HOSTNAME
WORKFLOWMODELER_HOSTNAME: $PUBLIC_HOSTNAME
TOPOLOGYMODELER_HOSTNAME: $PUBLIC_HOSTNAME
CONTAINER_HOSTNAME: $PUBLIC_HOSTNAME
networks:
- modulo-demo
dind:
image: opentosca/dind:v1.0.0
privileged: true
environment:
- PORT=2375
- DOCKER_DAEMON_ARGS=--dns 8.8.8.8 --dns 8.8.4.4 -D
networks:
- modulo-demo
### Qiskit Runtime Handler ###
redis:
image: redis:6.2.6
command: --port 5040
ports:
- "5040:5040"
networks:
- modulo-demo
qiskit-runtime-handler:
image: planqk/qiskit-runtime-handler:v1.1.0
command: sh /startup.sh
ports:
- "8889:8889"
environment:
- REDIS_URL=redis://redis:5040
- DATABASE_URL=sqlite:////data/app.db
volumes:
- exec_data:/data
networks:
- modulo-demo
rq-worker:
image: planqk/qiskit-runtime-handler:v1.1.0
command: rq worker --url redis://redis:5040 qiskit-runtime-handler
environment:
- FLASK_RUN_HOST=qiskit-runtime-handler
- FLASK_RUN_PORT=8889
- REDIS_URL=redis://redis:5040
- DATABASE_URL=sqlite:////data/app.db
volumes:
- exec_data:/data
depends_on:
- redis
deploy:
replicas: 1
networks:
- modulo-demo
networks:
modulo-demo:
driver: bridge