-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
61 lines (52 loc) · 1.48 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
---
version: '3.7'
services:
es:
container_name: tla-es
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.3
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
restart: unless-stopped
populate:
container_name: tla-ingest
depends_on:
- es
build:
context: https://github.com/thesaurus-linguae-aegyptiae/tla-es.git#master
environment:
- ES_HOST=es
- ES_PORT=9200
- SAMPLE_URL
command: "ingest"
backend:
container_name: tla-backend
depends_on:
- populate
build:
context: https://github.com/thesaurus-linguae-aegyptiae/tla-es.git#master
environment:
- ES_HOST=es
- ES_PORT=9200
ports:
- ${BACKEND_PORT:-8090}:8090
restart: unless-stopped
frontend:
container_name: tla-web
build:
context: .
environment:
- BACKEND_PORT=8090
- BACKEND_HOST=backend
- JQUERY_VERSION
- COOKIEJS_VERSION
- FONTAWESOME_VERSION
- BOOTSTRAP_VERSION
ports:
- ${LISTEN_PORT:-8080}:8080
restart: unless-stopped
...