-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
82 lines (75 loc) · 1.71 KB
/
docker-compose.yml
File metadata and controls
82 lines (75 loc) · 1.71 KB
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
version: "2.0"
services:
timesketch:
build: .
ports:
- "5000:5000"
depends_on:
- elasticsearch
- postgres
- redis
environment:
- POSTGRES_USER=timesketch
- POSTGRES_PASSWORD=password
- POSTGRES_ADDRESS=postgres
- POSTGRES_PORT=5432
- ELASTIC_ADDRESS=elasticsearch
- ELASTIC_PORT=9200
- REDIS_ADDRESS=redis
- REDIS_PORT=6379
- NEO4J_ADDRESS=neo4j
- NEO4J_PORT=7474
volumes:
- timelines:/timelines
restart: always
worker:
build: .
command: worker
depends_on:
- elasticsearch
- postgres
- redis
environment:
- POSTGRES_USER=timesketch
- POSTGRES_PASSWORD=password
- POSTGRES_ADDRESS=postgres
- POSTGRES_PORT=5432
- ELASTIC_ADDRESS=elasticsearch
- ELASTIC_PORT=9200
- REDIS_ADDRESS=redis
- REDIS_PORT=6379
volumes:
- timelines:/timelines
restart: always
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.4.2
environment:
- discovery.type=single-node
- bootstrap.memory_lock=true
- network.host=0.0.0.0
# - "ES_JAVA_OPTS=-Xms2g -Xmx2g"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- ./contrib:/usr/share/elasticsearch/config/scripts
- ./esdata:/usr/share/elasticsearch/data
postgres:
image: postgres:9.6-alpine
environment:
- POSTGRES_USER=timesketch
- POSTGRES_PASSWORD=password
volumes:
- ./pgdata:/var/lib/postgresql/data
restart: always
redis:
image: redis:alpine
restart: always
neo4j:
image: neo4j
environment:
- NEO4J_AUTH=none
restart: always
volumes:
timelines: