This repository has been archived by the owner on Jul 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
docker-compose.yml
102 lines (93 loc) · 1.83 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
---
version: '3.7'
services:
twint:
image: x0rzkov/twint:latest-alpine
command: ["-h"]
networks:
- internal
depends_on:
- tor-privoxy
- elasticsearch
links:
- elasticsearch:elasticsearch
volumes:
- ./output:/opt/twint
searchapp:
image: x0rzkov/twint-search:latest
build:
context: ./searchapp
dockerfile: Dockerfile
container_name: searchapp
ports:
- 3000:3000
# volumes:
# - './searchapp:/usr/src/app'
# - '/usr/src/app/node_modules'
environment:
- NODE_ENV=development
networks:
- internal
- web
depends_on:
- elasticsearch
links:
- elasticsearch:elasticsearch
tor-privoxy:
restart: always
container_name: torp
image: dockage/tor-privoxy:latest
ports:
- "9050:9050" # Tor proxy
- "9051:9051" # Tor control port
- "8118:8118" # Privoxy
networks:
- internal
- web
elasticsearch:
#restart: unless-stopped
#environment:
# - ES_JAVA_OPTS=-Xms2g -Xmx2g
# mem_limit: 4g
# memswap_limit: 4g
build:
context: ./elasticsearch
dockerfile: Dockerfile
args:
- CEREBRO_VERSION=0.7.2
container_name: elasticsearch
entrypoint: /usr/share/elasticsearch/start
ports:
- "9200:9200" # Elasticsearch
- "9000:9000" # Cerebro
ulimits:
memlock:
soft: -1
hard: -1
#nofile:
# soft: 65536
# hard: 65536
#cap_add:
# - IPC_LOCK
volumes:
- esdata:/usr/share/elasticsearch/data
networks:
- internal
- web
kibana:
image: docker.elastic.co/kibana/kibana:7.0.1
container_name: kibana
ports:
- 5601:5601
networks:
- internal
- web
depends_on:
- elasticsearch
volumes:
esdata:
driver: local
networks:
internal:
web:
external: true