-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-basic.yml
69 lines (62 loc) · 1.43 KB
/
docker-compose-basic.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
58
59
60
61
62
63
64
65
66
67
68
69
version: '3.8'
services:
minio:
image: minio/minio:latest
container_name: minio
ports:
- "9000:9000"
- "9001:9001"
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
command: server /data --console-address ":9001"
networks:
datalakehouse:
volumes:
- ./minio_data:/data
dremio:
image: dremio/dremio-oss:latest
container_name: dremio
ports:
- "9047:9047" # Web UI
- "31010:31010" # ODBC
- "32010:32010" # JDBC
- "45678:45678" # Internal coordination
environment:
- DREMIO_JAVA_SERVER_EXTRA_OPTS=-Dpaths.dist=file:///opt/dremio/data/dist
volumes:
- ./dremio:/var/lib/dremio
- ./dremio_data:/opt/dremio/data
networks:
datalakehouse:
depends_on:
- minio
- nessie
createbuckets:
image: minio/mc
depends_on:
- minio
entrypoint: >
/bin/sh -c "
/usr/bin/mc config host add minio http://minio:9000 minioadmin minioadmin;
/usr/bin/mc rm -r --force minio/nessie;
/usr/bin/mc mb minio/nessie;
exit 0;
"
networks:
datalakehouse:
nessie:
image: projectnessie/nessie:latest
container_name: nessie
ports:
- "19120:19120"
environment:
- QUARKUS_PROFILE=prod
- QUARKUS_HTTP_PORT=19120
networks:
datalakehouse:
volumes:
dremio_data:
minio_data:
networks:
datalakehouse: