forked from polonel/trudesk
-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
51 lines (51 loc) · 1.11 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
version: '2.1'
services:
trudesk:
image: polonel/trudesk:1
restart: always
ports:
- "8118:8118"
dns:
- "1.1.1.1"
- "8.8.8.8"
environment:
NODE_ENV: production
TRUDESK_DOCKER: "true"
TD_MONGODB_SERVER: mongo
TD_MONGODB_DATABASE: trudesk
USE_XFORWARDIP: "true"
volumes:
- trudesk_uploads:/usr/src/trudesk/public/uploads
- trudesk_backups:/usr/src/trudesk/backups
mongo:
image: mongo:5.0-focal
restart: always
ports:
- "27017:27017"
volumes:
- mongo:/var/lib/mongo
- mongo_data:/data/db:rw
elasticsearch:
image: elasticsearch:8.0.0
restart: always
environment:
- xpack.security.enabled=false
- xpack.security.http.ssl.enabled=false
- discovery.type=single-node
- bootstrap.memory_lock=true
mem_limit: 1073741824
ulimits:
memlock:
soft: -1
hard: -1
ports:
- "9200:9200"
- "9300:9300"
volumes:
- elasticsearch:/usr/share/elasticsearch/data
volumes:
trudesk_uploads:
trudesk_backups:
mongo:
mongo_data:
elasticsearch: