-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
72 lines (66 loc) · 1.47 KB
/
docker-compose.yml
File metadata and controls
72 lines (66 loc) · 1.47 KB
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
version: '3.7'
services:
presto:
hostname: presto
image: 'ahanaio/prestodb:0.253'
ports:
- '8080:8080'
volumes:
- ./etc:/opt/presto-server/etc
networks:
- presto-network
mariadb:
hostname: mariadb
image: mariadb:10.5.8
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: admin
MYSQL_USER: admin
MYSQL_PASSWORD: admin
MYSQL_DATABASE: metastore_db
networks:
- presto-network
hive-metastore:
hostname: hive-metastore
image: 'bitsondatadev/hive-metastore:latest'
ports:
- '9083:9083' # Metastore Thrift
volumes:
- ./conf/metastore-site.xml:/opt/apache-hive-metastore-3.0.0-bin/conf/metastore-site.xml:ro
environment:
METASTORE_DB_HOSTNAME: mariadb
depends_on:
- mariadb
networks:
- presto-network
minio:
hostname: minio
image: 'minio/minio:RELEASE.2021-01-08T21-18-21Z'
container_name: minio
ports:
- '9000:9000'
volumes:
- minio-data:/data
environment:
MINIO_ACCESS_KEY: minio_access_key
MINIO_SECRET_KEY: minio_secret_key
command: server /data
networks:
- presto-network
postgres:
hostname: postgres
image: 'postgres:11.12-alpine'
container_name: postgres
environment:
POSTGRES_PASSWORD: postgres
ports:
- '5432:5432'
networks:
- presto-network
volumes:
minio-data:
driver: local
networks:
presto-network:
driver: bridge