-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
53 lines (52 loc) · 1.33 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
version: "3.9"
x-common-variables: &common-vars
MINIOSERVER: "http://s3:9000"
MINIO_ROOT_USER: "your-root-user"
MINIO_ROOT_PASSWORD: "your-root-password"
MINIO_REGION: "ap-southeast-1"
services:
dg-fe:
image: assafushy/dg-front-end:latest
ports:
- "80:80"
environment:
BACKEND-URL-PLACEHOLDER-ContentControl: "http://dg-api-gate:3001"
dg-api-gate:
build: .
command: npm run dev
volumes:
- ./:/usr/src/app
ports:
- "3001:3000"
environment:
<<: *common-vars
MINIO_ENDPOINT: "s3"
dgContentControlUrl: "http://dg-content-control:3000"
jsonToWordPostUrl: "http://json-to-word:5000"
minioPublicEndPoint: "http://localhost:9000"
dg-init-job:
image: assafushy/dg-initializer:latest
depends_on:
- "s3"
environment:
<<: *common-vars
MINIOROOTUSER: "your-root-user"
MINIOROOTPASSWORD: "your-root-password"
dg-content-control:
image: assafushy/dg-content-control-generator:latest
ports:
- "3000:3000"
json-to-word:
image: assafushy/json-to-word:latest
ports:
- "5000:5000"
s3:
image: minio/minio
ports:
- "9000:9000"
- "4000:4000"
volumes:
- ./minio:/data
environment:
<<: *common-vars
command: server --address 0.0.0.0:9000 --console-address ":4000" /data