forked from panosc-eu/wp2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
89 lines (84 loc) · 2.23 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
version: '3'
services:
dsw-server:
image: datastewardshipwizard/wizard-server:3.2.2
restart: always
ports:
- 3000:3000
depends_on:
- postgres
- minio
volumes:
- ./dsw.yml:/application/engine-wizard/config/application.yml:ro
dsw-client:
image: datastewardshipwizard/wizard-client:3.2.0
restart: always
ports:
- 8080:80
environment:
API_URL: http://localhost:3000
docworker:
image: datastewardshipwizard/document-worker:3.2.0
restart: always
depends_on:
- postgres
- minio
- dsw-server
volumes:
- ./dsw.yml:/app/config.yml:ro
postgres:
image: postgres:13.2
restart: always
# (!) Expose only for debugging locally or set-up authentication
# ports:
# - 127.0.0.1:15432:5432
environment:
POSTGRES_DB: engine-wizard
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
# (!) Mount for persistent data
# volumes:
# - db-data:/var/lib/postgresql/data
# OR
# - ./db-data/data:/var/lib/postgresql/data
minio:
image: minio/minio:RELEASE.2021-04-22T15-44-28Z
command: server /data
# (!) Expose only for debugging locally or set-up authentication
# ports:
# - 127.0.0.1:19000:9000
# (!) Mount and backup for persistent data
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minioPassword
# (!) Mount for persistent data
# volumes:
# - s3-data:/data
# OR
# - ./s3-data/data:/data
rabbitmq:
image: "rabbitmq:3-management"
ports:
- "15672:15672"
- "5672:5672"
volumes:
- ./rabbitmq-isolated.conf:/etc/rabbitmq/rabbitmq.config
middleware:
build: .
image: "middleware"
environment:
DMP_HOST: "http://dsw-server:3000"
DMP_TAG: "302b1584-a7a2-4d9c-9770-eee990b002ec"
RABBITMQ_HOST: "rabbitmq"
RABBITMQ_USER: "guest"
RABBITMQ_PASSWORD: "guest"
PACKAGE_ID: "myorg:panosc-expands:2.0.6"
INGESTOR_EMAIL: "[email protected]"
INGESTOR_PASSWORD: "password"
depends_on:
- rabbitmq
- dsw-server
command: ["./wait-for-it.sh", "rabbitmq:15672", "--timeout=30", "--", "node", "./build/index.js"]
# volumes:
# db-data:
# s3-data: