-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
84 lines (75 loc) · 1.69 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
services:
gqlserver:
image: relatedcode/gqlserver:latest
container_name: gqlserver
ports:
- "4000:4000"
environment:
DB_HOST: pg
DB_PORT: 5432
DB_DATABASE: gqlserver
DB_USER: gqlserver
DB_PASSWORD: gqlserver
CACHE_HOST: rd
CACHE_PORT: 6379
CACHE_PASSWORD: gqlserver
MINIO_ROOT_USER: gqlserver
MINIO_ROOT_PASSWORD: gqlserver
ADMIN_EMAIL: [email protected]
ADMIN_PASSWORD: gqlserver
SECRET_KEY: f2e85774-9a3b-46a5-8170-b40a05ead6ef
depends_on:
- redis
- postgres
command:
[
"./wait-for-it.sh",
"pg:5432",
"--",
"./wait-for-it.sh",
"rd:6379",
"--",
"npm",
"run",
"watch:config"
]
volumes:
- ./config:/app/config
gqlserver_admin:
image: relatedcode/gqlserver-admin:latest
container_name: gqlserver_admin
ports:
- "80:3000"
depends_on:
- gqlserver
postgres:
container_name: pg
image: postgres
ports:
- "5432:5432"
environment:
POSTGRES_USER: gqlserver
POSTGRES_PASSWORD: gqlserver
POSTGRES_DB: gqlserver
volumes:
- ./data/pg:/var/lib/postgresql/data
redis:
image: redis
container_name: rd
ports:
- "6379:6379"
command: redis-server --requirepass gqlserver --save 60 1
volumes:
- ./data/rd:/data
minio:
image: minio/minio
container_name: minio
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: gqlserver
MINIO_ROOT_PASSWORD: gqlserver
command: server /data --console-address ":9001"
volumes:
- ./data/minio:/data