-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
69 lines (62 loc) · 1.44 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
services:
dsw-server:
image: dswbot/wizard-server:4.11
platform: linux/amd64
restart: always
ports:
- 127.0.0.1:3000:3000
depends_on:
- postgres
- minio
volumes:
- ./application.yml:/app/config/application.yml:ro
extra_hosts:
- host.docker.internal:host-gateway
dsw-client:
image: dswbot/wizard-client:4.11
restart: always
ports:
- 127.0.0.1:8080:8080
environment:
API_URL: http://localhost:3000/wizard-api
dsw-docworker:
image: dswbot/document-worker:4.11
depends_on:
- postgres
- minio
- dsw-server
volumes:
- ./application.yml:/app/config/application.yml:ro
extra_hosts:
- host.docker.internal:host-gateway
postgres:
image: postgres:16.4
restart: always
ports:
- 127.0.0.1:15432:5432
environment:
POSTGRES_DB: wizard
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- db-data:/var/lib/postgresql/data
minio:
image: minio/minio:RELEASE.2022-02-24T22-12-01Z
restart: always
command: server /data --console-address ":9001"
ports:
- 9000:9000
- 9001:9001
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minioPassword
volumes:
- s3-data:/data
dsw-seed-maker:
image: dswbot/dsw-seed-maker:develop
ports:
- 127.0.0.1:8000:8000
env_file: seed_maker.env
volumes:
db-data:
s3-data: