-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
63 lines (58 loc) · 1.56 KB
/
Copy pathdocker-compose.yml
File metadata and controls
63 lines (58 loc) · 1.56 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
version: "3.8"
services:
monero:
image: exilesprx/xmrig:release-v${RELEASE}
privileged: true
volumes:
- ./xmrig.json:/etc/xmrig/xmrig.json
environment:
- CONFIG_FILE=/etc/xmrig/xmrig.json
logging:
driver: gelf
options:
gelf-address: "udp://graylog:12201"
tag: "monero"
depends_on:
- graylog
mongo:
image: mongo:6.0.9
volumes:
- mongo-data:/data/db
elasticsearch:
image: elasticsearch:7.17.12
volumes:
- es-data:/usr/share/elasticsearch/data
environment:
- http.host=0.0.0.0
- transport.host=localhost
- network.host=0.0.0.0
- "ES_JAVA_OPTS=-Dlog4j2.formatMsgNoLookups=true -Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
deploy:
resources:
limits:
memory: 1g
graylog:
image: graylog/graylog:5.1.4
volumes:
- graylog-data:/usr/share/graylog/data
env_file:
- .env.graylog
entrypoint: /usr/bin/tini -- wait-for-it elasticsearch:9200 -- /docker-entrypoint.sh
restart: always
depends_on:
- mongo
- elasticsearch
ports:
# Graylog web interface and REST API
- 80:9000
volumes:
mongo-data:
driver: local
es-data:
driver: local
graylog-data:
driver: local