-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
99 lines (87 loc) · 1.88 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
version: '3'
services:
mariadb:
image: 'mariadb:10.11.2'
hostname: mariadb
ports:
- '3306:3306'
environment:
MYSQL_ROOT_PASSWORD: admin
MYSQL_USER: admin
MYSQL_PASSWORD: admin
MYSQL_DATABASE: metastore_db
networks:
- trino-network
hive-metastore:
image: 'bitsondatadev/hive-metastore:latest'
hostname: hive-metastore
ports:
- '9083:9083' # Metastore Thrift
volumes:
- ./metastore_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:
- trino-network
trino:
image: trinodb/trino:410
hostname: trino_container
ports:
- 8080:8080
volumes:
- ./trino/catalog:/etc/trino/catalog
networks:
- trino-network
depends_on:
- minio
- hive-metastore
minio:
image: minio/minio:RELEASE.2023-03-24T21-41-23Z
ports:
- "9000:9000"
- "9001:9001"
volumes:
- ./minio-data:/data
environment:
MINIO_ACCESS_KEY: test
MINIO_SECRET_KEY: test12334567
command: server /data --console-address ":9001"
networks:
- trino-network
trino-setup:
build: ./cli
restart: "no"
networks:
- trino-network
depends_on:
- trino
metabase:
image: metabase/metabase:v0.45.3
ports:
- "3000:3000"
networks:
- trino-network
volumes:
- ./metabase/plugins:/plugins
- ./metabase/data:/metabase-data
environment:
MB_PLUGINS_DIR: /plugins
MB_DB_FILE: /metabase-data/metabase.db
depends_on:
- trino
volumes:
trino:
driver: local
metastore_conf:
driver: local
minio-data:
driver: local
metabase:
driver: local
cli:
driver: local
networks:
trino-network:
driver: bridge