-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
110 lines (100 loc) · 2.32 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
version: '3.0'
services:
postgres:
image: postgres:9.6.21-alpine
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: example
PGDATA: /var/lib/postgresql/data/pgdata
volumes:
- postgres:/var/lib/postgresql/data
- ./config/init.sql:/docker-entrypoint-initdb.d/init.sql
postgraphile:
image: postgraphile-service
depends_on:
- postgres
build:
context: ./postgraphile
environment:
DATABASE_URL: postgres://postgres:example@postgres:5432/postgres
PORT: 5000
redis:
image: redis:6.2.1-alpine3.13
bullboard:
image: deadly0/bull-board:1.7.2
ports:
- 3002:3000
depends_on:
- redis
environment:
REDIS_HOST: redis
REDIS_PORT: 6379
minio:
image: minio/minio:RELEASE.2021-03-26T00-00-41Z-35-g5cce9361b
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minio123
volumes:
- minio:/data
command: server /data
socketcluster:
image: socketcluster/socketcluster:v16.0.1
ports:
- 8000:8000
bulk-process-service:
image: bulk-process-service
depends_on:
- postgraphile
- minio
- backend-service
build:
context: ./bulk-process-service
environment:
REDIS_HOST: redis
REDIS_PORT: 6379
BACKEND_HOST: backend-service
BACKEND_PORT: 3000
MINIO_ENDPOINT: minio
MINIO_PORT: 9000
MINIO_ACCESSKEY: minio
MINIO_SECRETKEY: minio123
MINIO_BUCKET: test
backend-service:
image: backend-service
ports:
- 3000:3000
depends_on:
- postgraphile
- minio
build:
context: ./backend
environment:
REDIS_HOST: redis
REDIS_PORT: 6379
SOCKETCLUSTER_HOST: socketcluster
SOCKETCLUSTER_PORT: 8000
POSTGRAPHILE_HOST: postgraphile
POSTGRAPHILE_PORT: 5000
MINIO_ENDPOINT: minio
MINIO_PORT: 9000
MINIO_ACCESSKEY: minio
MINIO_SECRETKEY: minio123
MINIO_BUCKET: test
frontend-service:
image: frontend-service
ports:
- 4200:4200
depends_on:
- backend-service
build:
context: ./frontend
environment:
BACKEND_HOST: localhost
BACKEND_PORT: 3000
SOCKETCLUSTER_HOST: localhost
SOCKETCLUSTER_PORT: 8000
volumes:
postgres:
driver: local
minio:
driver: local