-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
110 lines (102 loc) · 2.22 KB
/
docker-compose.yaml
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.9"
services:
auth:
build:
context: ./auth
dockerfile: ../Dockerfile
image: olivercvetkovski/zvax-auth:latest
depends_on:
- postgres
command:
- run
- --config=config.docker.yaml
volumes:
- ./auth/config:/app/config:ro
keys:
build:
context: ./keys
dockerfile: ../Dockerfile
image: olivercvetkovski/zvax-keys:latest
depends_on:
- postgres
command:
- run
- --config=config.docker.yaml
volumes:
- ./keys/config:/app/config:ro
qrcode:
build:
context: ./qrcode
dockerfile: ../Dockerfile
image: olivercvetkovski/zvax-qrcode:latest
depends_on:
- postgres
- minio
command:
- run
- --config=config.docker.yaml
volumes:
- ./qrcode/config:/app/config:ro
slots:
build:
context: ./slots
dockerfile: ../Dockerfile
image: olivercvetkovski/zvax-slots:latest
depends_on:
- redis
command:
- run
- --config=config.docker.yaml
volumes:
- ./slots/config:/app/config:ro
redis:
image: redis/redis-stack-server
ports:
- "6379:6379"
volumes:
- redis:/data
environment:
- REDIS_PASSWORD=redis
- REDIS_PORT=6379
- REDIS_HOST=redis
- REDIS_DB=0
- REDIS_MAXMEMORY=256mb
postgres:
image: postgres
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-changeme}
PGDATA: /data/postgres
volumes:
- postgres:/data/postgres
- ./initdb.d:/docker-entrypoint-initdb.d
ports:
- "5432:5432"
pgadmin:
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:-admin@pgadmin.com}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-changeme}
ports:
- "5050:80"
volumes:
- pgadmin:/var/lib/pgadmin
minio:
image: quay.io/minio/minio
command:
- server
- /data
- --console-address
- ":9001"
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER:-minioadmin}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD:-minioadmin}
volumes:
- minio:/data
volumes:
postgres:
minio:
pgadmin:
redis: