forked from Noobzik/ATL-Datamart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (40 loc) · 895 Bytes
/
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
version: '3.7'
services:
minio:
hostname: minio
image: "minio/minio"
container_name: newyork_minio
ports:
- "9001:9001"
- "9000:9000"
command: [ "server", "/data", "--console-address", ":9001" ]
volumes:
- ./minio:/data
environment:
- MINIO_ROOT_USER=minio
- MINIO_ROOT_PASSWORD=minio123
networks:
- spark_network
db:
container_name: newyork_postgres
image: postgres:latest
restart: always
ports:
- "15432:5432"
environment:
POSTGRES_USERNAME: admin
POSTGRES_PASSWORD: admin
volumes:
- pgdata:/var/lib/postgresql/data
zookeeper:
hostname: zookeeper
container_name: newyork_zookeeper
image: 'bitnami/zookeeper:latest'
environment:
- ALLOW_ANONYMOUS_LOGIN=yes
networks:
spark_network:
driver: bridge
name: spark_network
volumes:
pgdata: