forked from bsmithio/OPNsense-Dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
98 lines (98 loc) · 2.94 KB
/
docker-compose.yaml
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
version: '3'
services:
mongodb:
container_name: mongo
image: mongo:6.0.4
volumes:
- mongodb_data:/data/db
restart: "unless-stopped"
environment:
# Change this to your time zone, valid time zones can be found here: https://www.joda.org/joda-time/timezones.html
- TZ=CST6CDT
networks:
- graylog
elasticsearch:
container_name: elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.10.2
volumes:
- es_data:/usr/share/elasticsearch/data
environment:
# Change this to your time zone, valid time zones can be found here: https://www.joda.org/joda-time/timezones.html
- TZ=CST6CDT
- http.host=0.0.0.0
- transport.host=localhost
- network.host=0.0.0.0
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
restart: "unless-stopped"
networks:
- graylog
graylog:
container_name: graylog
image: graylog/graylog:5.0.2
volumes:
- graylog_data:/usr/share/graylog/data
environment:
# Change these to your time zone, valid time zones can be found here: https://www.joda.org/joda-time/timezones.html
- TZ=CST6CDT
- ROOT_TIMEZONE=CST6CDT
- GRAYLOG_TIMEZONE=CST6CDT
# CHANGE ME (must be at least 16 characters)! This is not your password, this is meant for salting the password below.
- GRAYLOG_PASSWORD_SECRET=ZDcwMzQ3NTE4ZTIwM
# Username is "admin"
# Password is "admin", change this to your own hashed password. 'echo -n "password" | sha256sum'
- GRAYLOG_ROOT_PASSWORD_SHA2=8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918
- GRAYLOG_HTTP_EXTERNAL_URI=http://127.0.0.1:9000/
networks:
- graylog
depends_on:
- mongodb
- elasticsearch
ports:
# Graylog web interface and REST API
- 9000:9000
# Syslog UDP
- 1514:1514/udp
# Syslog TCP Optional
#- 1514:1514
restart: "unless-stopped"
influxdb:
container_name: influxdb
image: influxdb:2.6.1
ports:
- '8086:8086'
volumes:
- influxdb2_data:/var/lib/influxdb2
environment:
# Change this to your time zone, valid time zones can be found here: https://www.joda.org/joda-time/timezones.html
- TZ=CST6CDT
restart: "unless-stopped"
networks:
- graylog
grafana:
container_name: grafana
image: grafana/grafana:9.2.10
ports:
- '3000:3000'
volumes:
- grafana_data:/var/lib/grafana
depends_on:
- influxdb
environment:
# Change this to your time zone, valid time zones can be found here: https://www.joda.org/joda-time/timezones.html
- TZ=CST6CDT
# Change these
- GF_SECURITY_ADMIN_USER=opnsense
- GF_SECURITY_ADMIN_PASSWORD=opnsense
- GF_INSTALL_PLUGINS=grafana-worldmap-panel
restart: "unless-stopped"
networks:
- graylog
networks:
graylog:
driver: bridge
volumes:
grafana_data:
influxdb2_data:
graylog_data:
es_data:
mongodb_data: