-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
57 lines (46 loc) · 3.65 KB
/
Copy path.env.example
File metadata and controls
57 lines (46 loc) · 3.65 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
# ══════════════════════════════════════════════════════════════════════════════
# HoneyCloud – Environment Variables
# Copy this file to .env and fill in your values.
# NEVER commit .env to version control.
# ══════════════════════════════════════════════════════════════════════════════
# ── REQUIRED ──────────────────────────────────────────────────────────────────
# Generate with: openssl rand -hex 32
SECRET_KEY=replace-with-64-char-hex-string
# ── Application ───────────────────────────────────────────────────────────────
ENVIRONMENT=development # development | staging | production
DEBUG=true
# ── Database ──────────────────────────────────────────────────────────────────
POSTGRES_DB=honeycloud
POSTGRES_USER=honeycloud
POSTGRES_PASSWORD=change-me
DATABASE_URL=postgres://honeycloud:change-me@postgres:5432/honeycloud
# ── CORS ──────────────────────────────────────────────────────────────────────
ALLOWED_ORIGINS=["http://localhost:5173","http://localhost:80"]
# ── JWT ───────────────────────────────────────────────────────────────────────
ALGORITHM=HS256
JWT_EXPIRATION_MINUTES=60
# ── Rate limiting ─────────────────────────────────────────────────────────────
RATE_LIMIT_PER_MINUTE=60
# ── Telegram Alerts (optional) ────────────────────────────────────────────────
TELEGRAM_ALERTS_ENABLED=false
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=
# ── Honeypot Ports ────────────────────────────────────────────────────────────
SSH_HONEYPOT_PORT=2222
FTP_HONEYPOT_PORT=2121
HTTP_HONEYPOT_PORT=8080
TELNET_HONEYPOT_PORT=2323
SMTP_HONEYPOT_PORT=2525
RDP_HONEYPOT_PORT=3389
# ── Reports ───────────────────────────────────────────────────────────────────
REPORTS_DIR=reports
# ── Geo-IP ────────────────────────────────────────────────────────────────────
GEOIP_TIMEOUT_SECONDS=5
# ── Email Alerts (optional) ───────────────────────────────────────────────────
EMAIL_ALERTS_ENABLED=false
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=
SMTP_PASSWORD=
EMAIL_FROM=
EMAIL_TO=