forked from wlcamargo/zero-to-know-what-docker-and-linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (33 loc) · 713 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (33 loc) · 713 Bytes
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
services:
minio:
image: wlcamargo/minio
container_name: minio
networks:
- bigdata
ports:
- 9000:9000
- 9001:9001
command: server /data --console-address ":9001"
volumes:
- minio-data:/data
environment:
- MINIO_ROOT_USER=${MINIO_ROOT_USER}
- MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD}
db:
build: ./postgres
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
ports:
- '5435:5432'
volumes:
- db_data:/var/lib/postgresql/data
container_name: postgres_local
restart: always
networks:
bigdata:
driver: bridge
volumes:
minio-data:
db_data:
driver: local