-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.yml
86 lines (79 loc) · 2.14 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
version: '3'
services:
dsw-server:
image: datastewardshipwizard/wizard-server:4.14
platform: linux/amd64
restart: always
ports:
# (!!) Expose only for local deployment, externally use HTTPS proxy
- 127.0.0.1:3000:3000
depends_on:
- postgres
- minio
volumes:
- ./config/application.yml:/app/config/application.yml:ro
extra_hosts:
- host.docker.internal:host-gateway
dsw-client:
image: datastewardshipwizard/wizard-client:4.14
restart: always
ports:
# (!!) Expose only for local deployment, externally use HTTPS proxy
- 127.0.0.1:8080:8080
environment:
API_URL: http://localhost:3000/wizard-api
docworker:
image: datastewardshipwizard/document-worker:4.14
restart: always
depends_on:
- postgres
- minio
- dsw-server
volumes:
- ./config/application.yml:/app/config/application.yml:ro
extra_hosts:
- host.docker.internal:host-gateway
mailer:
image: datastewardshipwizard/mailer:4.14
restart: always
depends_on:
- postgres
- dsw-server
volumes:
- ./config/application.yml:/app/config/application.yml:ro
postgres:
image: postgres:15.6
restart: always
# (!!) Expose only for debugging locally
# ports:
# - 127.0.0.1:5432:5432
# (!!) Change default password
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.2022-02-24T22-12-01Z
restart: always
command: server /data --console-address ":9001"
# (!!) Expose only for debugging locally, externally use HTTPS proxy (see MinIO docs)
ports:
- 9000:9000
- 9001:9001
# (!!) Change default password
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minioPassword
# (!!) Mount and backup for persistent data
# volumes:
# - s3-data:/data
# OR
# - ./s3-data/data:/data
# volumes:
# db-data:
# s3-data: