-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
62 lines (56 loc) · 1.43 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
version: '3.8'
services:
edgar4j-elasticsearch:
build: .
container_name: edgar4j-elasticsearch
depends_on:
- elasticsearch
environment:
- SPRING_DATA_ELASTICSEARCH_CLUSTER_NAME=elasticsearch
- SPRING_DATA_ELASTICSEARCH_CLUSTER_NODES=elasticsearch:9200
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.3
container_name: elasticsearch
environment:
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- esdata:/usr/share/elasticsearch/data
kibana:
image: docker.elastic.co/kibana/kibana:7.16.3
container_name: kibana
depends_on:
- elasticsearch
ports:
- "5601:5601"
superset:
image: apache/superset:latest
container_name: superset
environment:
- POSTGRES_USER=superset
- POSTGRES_PASSWORD=superset
- POSTGRES_DB=superset
- SUPERSET_USERNAME=YOUR_SUPERSET_USERNAME
- SUPERSET_PASSWORD=YOUR_SUPERSET_PASSWORD
ports:
- "8088:8088"
depends_on:
- superset-db
- elasticsearch
superset-db:
image: postgres:13
container_name: superset-db
environment:
- POSTGRES_USER=superset
- POSTGRES_PASSWORD=superset
- POSTGRES_DB=superset
volumes:
- superset-data:/var/lib/postgresql/data
volumes:
esdata:
superset-data: