forked from ibis-project/ibis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
183 lines (182 loc) · 3.69 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
version: "3.4"
services:
clickhouse:
build:
context: .
dockerfile: ./docker/clickhouse/Dockerfile
image: ibis-clickhouse
ports:
- 8123:8123
- 9000:9000
networks:
- clickhouse
impala:
depends_on:
- impala-postgres
- kudu
environment:
PGPASSWORD: postgres
healthcheck:
interval: 30s
retries: 20
test:
- CMD-SHELL
- nc -z 127.0.0.1 21050 && nc -z 127.0.0.1 50070
timeout: 10s
hostname: localhost
image: ibisproject/impala:latest
ports:
- 9020:9020
- 50070:50070
- 50075:50075
- 8020:8020
- 8042:8042
- 9083:9083
- 21000:21000
- 21050:21050
- 25000:25000
- 25010:25010
- 25020:25020
networks:
- impala
impala-postgres:
user: postgres
hostname: postgres
environment:
POSTGRES_PASSWORD: postgres
healthcheck:
interval: 10s
retries: 3
test:
- CMD
- pg_isready
timeout: 5s
image: postgres:13.9-alpine
networks:
- impala
kudu:
cap_add:
- SYS_TIME
depends_on:
- kudu-tserver
environment:
KUDU_MASTER: "true"
image: ibisproject/kudu:latest
ports:
- 7051:7051
- 8051:8051
networks:
- impala
kudu-tserver:
cap_add:
- SYS_TIME
environment:
KUDU_MASTER: "false"
image: ibisproject/kudu:latest
ports:
- 7050:7050
- 8050:8050
networks:
- impala
mysql:
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
MYSQL_DATABASE: ibis_testing
MYSQL_PASSWORD: ibis
MYSQL_USER: ibis
healthcheck:
interval: 10s
retries: 3
test:
- CMD
- mysqladmin
- ping
timeout: 5s
image: mariadb:10.10.3
ports:
- 3306:3306
networks:
- mysql
postgres:
user: postgres
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: ibis_testing
POSTGRES_USER: postgres
build: ./docker/postgres
image: ibis-postgres
healthcheck:
interval: 10s
retries: 3
test:
- CMD
- pg_isready
timeout: 5s
ports:
- 5432:5432
networks:
- postgres
mssql:
environment:
MSSQL_SA_PASSWORD: 1bis_Testing!
ACCEPT_EULA: "Y"
healthcheck:
interval: 10s
retries: 3
test:
- CMD-SHELL
- /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P "$$MSSQL_SA_PASSWORD" -Q "IF DB_ID('ibis_testing') IS NULL BEGIN CREATE DATABASE [ibis_testing] END"
timeout: 10s
build:
context: .
dockerfile: ./docker/mssql/Dockerfile
image: ibis-mssql
ports:
- 1433:1433
networks:
- mssql
trino-postgres:
user: postgres
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: ibis_testing
POSTGRES_USER: postgres
healthcheck:
interval: 10s
retries: 3
test:
- CMD
- pg_isready
timeout: 5s
build: ./docker/postgres
image: ibis-postgres
ports:
- 5433:5432
networks:
- trino
trino:
depends_on:
- trino-postgres
healthcheck:
interval: 5s
retries: 6
test:
- CMD-SHELL
- trino --execute 'SELECT 1 AS one'
timeout: 30s
image: trinodb/trino:406
ports:
- 8080:8080
networks:
- trino
volumes:
- $PWD/docker/trino/catalog/postgresql.properties:/etc/trino/catalog/postgresql.properties:ro
- $PWD/docker/trino/catalog/memory.properties:/etc/trino/catalog/memory.properties:ro
- $PWD/docker/trino/jvm.config:/etc/trino/jvm.config:ro
networks:
impala:
mysql:
mssql:
clickhouse:
postgres:
trino: