-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yaml
64 lines (64 loc) · 1.21 KB
/
docker-compose.yaml
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
# Taken from
# https://github.com/ibis-project/ibis/blob/master/docker-compose.yml
version: "3.4"
services:
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:
- 21050:21050
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
networks:
impala: