-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
47 lines (47 loc) · 968 Bytes
/
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
version: "3.9"
services:
elasticsearch:
image: elasticsearch:7.17.2
# ports:
# - "9200:9200"
environment:
- xpack.security.enabled=false
- discovery.type=single-node
networks:
- es_net
volumes:
- es_data:/usr/share/elasticsearch/data
# kibana:
# image: kibana:7.17.2
# ports:
# - "5601:5601"
# depends_on:
# - elasticsearch
# environment:
# - ELASTICSEARCH_HOSTS=http://elasticsearch:9200
# networks:
# - es_net
backend:
image: tgarchive-backend:latest
environment:
- ELASTICSEARCH_URL=http://elasticsearch:9200
- ARCHIVES_BASE_DIR=/data/zipfiles/
networks:
- es_net
depends_on:
- elasticsearch
volumes:
- ./zipfiles:/data/zipfiles
frontend:
image: tgarchive-frontend:latest
ports:
- "8080:80"
networks:
- es_net
depends_on:
- backend
networks:
es_net:
driver: bridge
volumes:
es_data: