-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
58 lines (56 loc) · 1.42 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
version: '3.6'
networks:
dbs-network:
name: dbs-network
driver: bridge
envoymesh:
external: true
services:
minio:
container_name: srv-minio
hostname: minio
image: minio/minio:${MINIO_VERSION}
restart: always
networks:
- dbs-network
- envoymesh
expose:
- 9000
ports:
- ${MINIO_PORT}:9000
environment:
- MINIO_ACCESS_KEY=${MINIO_ACCESS_KEY}
- MINIO_SECRET_KEY=${MINIO_SECRET_KEY}
volumes:
- ./data/minio-data:/data
command: server /data
pgsql:
container_name: srv-pgsql
image: postgres:${POSTGRES_VERSION}
restart: always
volumes:
- ./data/pgsql-data:/var/lib/postgresql/data
expose:
- 5432
#ports:
# - ${POSTGRES_PORT}:5432
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
networks:
- dbs-network
- envoymesh
redis:
container_name: srv-redis
image: bitnami/redis:${REDIS_VERSION}
restart: always
expose:
- 6379
#ports:
# - ${REDIS_PORT}:6379
environment:
- REDIS_PASSWORD=${REDIS_PASSWORD}
volumes:
- ./data/redis-data:/bitnami/redis/data
networks:
- dbs-network
- envoymesh