-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
126 lines (126 loc) · 3.79 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
services:
qhana-plugin-runner:
build: .
image: qhana-plugin-runner
depends_on:
- redis
- postgres
ports:
- "5005:8080"
volumes:
- instance:/app/instance
- ./plugins:/app/plugins
environment:
CONCURRENCY: 2
BROKER_URL: redis://redis:6379
RESULT_BACKEND: redis://redis:6379
SQLALCHEMY_DATABASE_URI: "postgresql+psycopg://user:password@postgres:5432/default_db"
CAMUNDA_API_URL: "http://localhost:5018/engine-rest"
PLUGIN_RUNNER_URLS: "http://localhost:5005"
LOCALHOST_PROXY_PORTS: ":9090 :5005 :5018"
WAIT_HOSTS: redis:6379, postgres:5432
redis:
image: "redis:latest"
ports:
- "6379:6379"
postgres:
image: "postgres:latest"
environment:
POSTGRES_PASSWORD: password
POSTGRES_USER: user
POSTGRES_DB: default_db
postgres-registry:
image: "postgres:latest"
environment:
POSTGRES_PASSWORD: password
POSTGRES_USER: user
POSTGRES_DB: default_db
muse-db:
image: ghcr.io/ust-quantil/mini-muse:main
worker:
build: .
image: qhana-plugin-runner
depends_on:
- qhana-plugin-runner
- redis
volumes:
- instance:/app/instance
- ./plugins:/app/plugins
environment:
CONTAINER_MODE: worker
CONCURRENCY: 16
BROKER_URL: redis://redis:6379
RESULT_BACKEND: redis://redis:6379
SQLALCHEMY_DATABASE_URI: "postgresql+psycopg://user:password@postgres:5432/default_db"
CAMUNDA_API_URL: "http://localhost:5018/engine-rest"
PLUGIN_RUNNER_URLS: "http://localhost:5005"
PERIODIC_SCHEDULER: "True"
LOCALHOST_PROXY_PORTS: ":9090 :5018 :5005 :5006"
WAIT_HOSTS: redis:6379, postgres:5432, camunda:8080
WAIT_TIMEOUT: 300
WAIT_SLEEP_INTERVAL: 5
PLUGIN_REGISTRY_URL: "http://localhost:5006"
backend:
image: ghcr.io/ust-quantil/qhana-backend:main
profiles:
- with_backend
- with_ui
volumes:
- experiments:/app/data
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
LOCALHOST_PROXY_PORTS: ":5005"
QHANA_HOST: http://localhost:9090
ports:
- 9090:9090
ui:
image: ghcr.io/ust-quantil/qhana-ui:main
profiles:
- with_ui
ports:
- 8080:8080
environment:
PLUGIN_REGISTRY_PROTOCOL: "http:"
PLUGIN_REGISTRY_HOSTNAME: localhost
PLUGIN_REGISTRY_PORT: 5006
PLUGIN_REGISTRY_PATH: /api/
extra_hosts:
- "host.docker.internal:host-gateway"
registry:
image: ghcr.io/ust-quantil/qhana-plugin-registry:main
ports:
- "5006:8080"
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
WAIT_HOSTS: redis:6379, postgres-registry:5432
BROKER_URL: redis://redis:6379
RESULT_BACKEND: redis://redis:6379
CELERY_QUEUE: "registry_queue"
SQLALCHEMY_DATABASE_URI: "postgresql+psycopg2://user:password@postgres-registry:5432/default_db"
INITIAL_PLUGIN_SEEDS: "http://localhost:5005"
PRECONFIGURED_SERVICES: '[{"serviceId": "qhana-backend", "name": "Backend", "url": "http://localhost:9090"}]'
registry-worker:
image: ghcr.io/ust-quantil/qhana-plugin-registry:main
ports:
- "5007:8080"
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
WAIT_HOSTS: redis:6379, postgres-registry:5432
CONTAINER_MODE: worker
BROKER_URL: redis://redis:6379
RESULT_BACKEND: redis://redis:6379
CELERY_QUEUE: "registry_queue"
SQLALCHEMY_DATABASE_URI: "postgresql+psycopg2://user:password@postgres-registry:5432/default_db"
LOCALHOST_PROXY_PORTS: ":5005"
PLUGIN_DISCOVERY_INTERVAL: 60
PERIODIC_SCHEDULER: true
camunda:
image: ghcr.io/ust-quantil/docker-camunda-bpm-platform:next
ports:
- "5018:8080"
volumes:
instance:
experiments: