-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose.yml
67 lines (67 loc) · 1.58 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
version: "3.7"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.12.1
container_name: es01
hostname: es01
environment:
discovery.type: single-node
xpack.security.enabled: "false"
ES_JAVA_OPTS: -Xms500m -Xmx500m
ports:
- 9200:9200
networks:
- trino-ranger-demo
volumes:
- ranger-es-data:/usr/share/elasticsearch/data
postgresql:
image: postgres:13
container_name: psql01
hostname: psql01
environment:
POSTGRES_PASSWORD: "postgres"
ports:
- 5432:5432
networks:
- trino-ranger-demo
volumes:
- ranger-pg-data:/var/lib/postgresql/data
ranger-admin:
image: aakashnand/trino-ranger-demo:v4.0
#build: ranger-admin
container_name: ranger-admin
hostname: ranger-admin
entrypoint: /root/ranger-admin/docker-entrypoint.sh
deploy:
resources:
limits:
cpus: '2'
memory: 6G
reservations:
cpus: '1'
memory: 5G
ports:
- 6080:6080
networks:
- trino-ranger-demo
volumes:
- ./ranger-admin:/root/ranger-admin
trino:
image: trinodb/trino:436
hostname: localhost-trino
user: root
container_name: localhost-trino
entrypoint: /root/docker-entrypoint.sh
networks:
- trino-ranger-demo
volumes:
- ./trino/install.properties:/root/install.properties
- ./trino/docker-entrypoint.sh:/root/docker-entrypoint.sh
ports:
- 8080:8080
networks:
trino-ranger-demo:
driver: bridge
volumes:
ranger-es-data:
ranger-pg-data: