-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
125 lines (115 loc) · 2.69 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
version: '3.3'
services:
postgres:
container_name: postgres
image: postgis/postgis
restart: always
env_file:
- local.env
environment:
POSTGRES_USER: ${USERNAME}
POSTGRES_PASSWORD: ${PASSWORD}
ports:
- "5432:5432"
volumes:
- ./data/postgres/:/var/lib/postgresql/data/
pgadmin:
container_name: pgadmin
image: dpage/pgadmin4
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: ${EMAIL}
PGADMIN_DEFAULT_PASSWORD: ${PASSWORD}
ports:
- "5050:80"
minio:
container_name: minio
image: minio/minio
command: server /data --console-address ":9001"
env_file:
- local.env
expose:
- "9000"
- "9001"
environment:
MINIO_ROOT_USER: ${USERNAME}
MINIO_ROOT_PASSWORD: ${PASSWORD}
ports:
- "9000:9000"
- "9001:9001"
volumes:
- ./data/minio/:/data/
redis:
image: redis:latest
container_name: redis
restart: on-failure
env_file:
- local.env
command: redis-server --bind redis --requirepass ${PASSWORD} --maxmemory 256mb --maxmemory-policy allkeys-lru --appendonly yes
environment:
- TZ=Asia/Jakarta
volumes:
- ./data/redis/:/data/
ports:
- "6379:6379"
redisinsight:
image: redislabs/redisinsight:latest
restart: on-failure
env_file:
- local.env
ports:
- '8001:8001'
volumes:
- ./data/redisinsight/:/data
nsqlookupd:
image: nsqio/nsq
restart: on-failure
command: /nsqlookupd
ports:
- "4160:4160"
- "4161:4161"
nsqd:
image: nsqio/nsq
restart: on-failure
command: /nsqd --lookupd-tcp-address=nsqlookupd:4160
depends_on:
- nsqlookupd
ports:
- "4150:4150"
- "4151:4151"
nsqadmin:
image: nsqio/nsq
restart: on-failure
command: /nsqadmin --lookupd-http-address=nsqlookupd:4161
depends_on:
- nsqlookupd
ports:
- "4171:4171"
mongo:
container_name: mongo
image: mongo
restart: on-failure
environment:
MONGO_INITDB_ROOT_USERNAME: ${USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${PASSWORD}
ports:
- "27017:27017"
mongo-express:
container_name: mongo-express
image: mongo-express
restart: on-failure
ports:
- "8081:8081"
depends_on:
- mongo
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: ${USERNAME}
ME_CONFIG_MONGODB_ADMINPASSWORD: ${PASSWORD}
ME_CONFIG_MONGODB_URL: mongodb://${USERNAME}:${PASSWORD}@mongo:27017/
ME_CONFIG_BASICAUTH_USERNAME: ${USERNAME}
ME_CONFIG_BASICAUTH_PASSWORD: ${PASSWORD}
qr:
image: samwierema/go-qr-generator
ports:
- "9010:8080"
restart: on-failure