-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
48 lines (42 loc) · 1.04 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
---
version: '3.7'
services:
es:
container_name: tla-es
image: docker.elastic.co/elasticsearch/elasticsearch:7.15.2
environment:
ES_JAVA_OPTS: -Xms512m -Xmx512m -Dlog4j2.formatMsgNoLookups=true
discovery.type: single-node
xpack.security.enabled: "false"
ingest.geoip.downloader.enabled: "false"
ports:
- ${ES_PORT:-9200}:9200
stdin_open: true
tty: true
restart: unless-stopped
populate:
container_name: tla-ingest
depends_on:
- es
build:
context: .
environment:
- ES_HOST=es
- ES_PORT=9200
- SAMPLE_URL
tty: true
command: "ingest"
backend:
container_name: tla-backend
depends_on:
- populate
build:
context: .
environment:
- ES_HOST=es
- ES_PORT=9200
ports:
- 8090:8090
tty: true
restart: unless-stopped
...