Repository navigation
Expand file tree
/
Copy pathenv.template
More file actions
65 lines (53 loc) · 2.2 KB
/
Copy pathenv.template
File metadata and controls
65 lines (53 loc) · 2.2 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
# ==========================================
# MONGODB CONFIGURATION
# ==========================================
MONGODB_USER=graylog
MONGODB_PASSWORD=changeme_mongodb_password_here
# ==========================================
# OPENSEARCH CONFIGURATION
# ==========================================
# Password must have at least 8 characters, upper and lower case letters, numbers and special characters
OPENSEARCH_PASSWORD=ChangeMeOpenSearch123!
OPENSEARCH_HEAP_SIZE=1g
# ==========================================
# GRAYLOG CONFIGURATION
# ==========================================
# Port for web interface
GRAYLOG_HTTP_PORT=9000
# Port for GELF UDP input
GRAYLOG_GELF_UDP_PORT=12201
# Host Tailscale IPv4 for GELF publish bind (required). Do not use 0.0.0.0.
# Compose fails closed if this is missing/empty (no all-interface publish).
# Existing .env files from before this variable existed must add it.
# Get with: tailscale ip -4
GRAYLOG_GELF_BIND_TAILSCALE=100.x.y.z
# URL where Graylog will be accessible (change to your address)
GRAYLOG_HTTP_EXTERNAL_URI=http://localhost:9000/
# Administrator username
GRAYLOG_ROOT_USERNAME=admin
# Administrator password (plain text - for API access)
GRAYLOG_ROOT_PASSWORD=admin
# Password secret - minimum 16 characters
GRAYLOG_PASSWORD_SECRET=changeme_password_secret_min_16_chars_here
# Root password SHA2 - generate using:
# echo -n "yourpassword" | sha256sum | cut -d" " -f1
GRAYLOG_ROOT_PASSWORD_SHA2=8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918
# Timezone
GRAYLOG_TIMEZONE=UTC
# Default index set: rotate at 10 GiB, keep 10 indices (~100 GiB).
# Change these and re-run graylog-init. No image rebuild.
# Re-run leaves an existing input with the same title and type in place.
GRAYLOG_INDEX_MAX_SIZE_BYTES=10737418240
GRAYLOG_INDEX_MAX_INDICES=10
# ==========================================
# EMAIL CONFIGURATION (optional)
# ==========================================
GRAYLOG_EMAIL_ENABLED=false
GRAYLOG_EMAIL_HOSTNAME=smtp.example.com
GRAYLOG_EMAIL_PORT=587
GRAYLOG_EMAIL_USE_AUTH=true
GRAYLOG_EMAIL_USERNAME=graylog@example.com
GRAYLOG_EMAIL_PASSWORD=changeme_email_password
GRAYLOG_EMAIL_USE_TLS=true
GRAYLOG_EMAIL_USE_SSL=false
GRAYLOG_EMAIL_FROM=graylog@example.com