-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
79 lines (67 loc) · 2.59 KB
/
.env.example
File metadata and controls
79 lines (67 loc) · 2.59 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Environment Configuration for Cachet Infrastructure
# Copy this file to .env and fill in your values
# ============================================
# GENERAL SETTINGS
# ============================================
ENVIRONMENT=production # production or local
TZ=Europe/Rome
PHP_VERSION=8.3 # PHP version to use in containers
# ============================================
# DOMAIN CONFIGURATION
# ============================================
CACHET_DOMAIN=status.yourdomain.com
WEBHOOK_DOMAIN=alerts.yourdomain.com
# ============================================
# PORT CONFIGURATION (for rootless podman)
# ============================================
HTTP_PORT=80
HTTPS_PORT=443
# ============================================
# SSL/TLS CONFIGURATION
# ============================================
# For production with Let's Encrypt: letsencrypt
# For local development: leave empty (self-signed)
CERT_RESOLVER=letsencrypt
# ============================================
# CACHET APPLICATION
# ============================================
APP_NAME=Cachet
APP_ENV=production
APP_DEBUG=false
APP_TIMEZONE=UTC
APP_URL=https://status.yourdomain.com
# Force HTTPS for assets (IMPORTANT for production behind reverse proxy)
ASSET_URL=https://status.yourdomain.com
# Force HTTPS for all generated URLs (Livewire, routes, etc.)
# Set to "true" in production behind HTTPS reverse proxy, false for local
APP_FORCE_HTTPS=false
# Laravel API Key (leave it blank, it will be generated automatically)
APP_KEY=""
# ============================================
# DATABASE CONFIGURATION
# ============================================
DB_CONNECTION=pgsql
DB_DATABASE=cachet
DB_USERNAME=YOUR_DB_USERNAME_HERE
# Generate a strong password
DB_PASSWORD=YOUR_STRONG_DB_PASSWORD_HERE
# ============================================
# WEBHOOK AUTHENTICATION
# ============================================
# BasicAuth credentials for /webhook endpoint (format: user:hash)
# Generate hash with: htpasswd -nb user password
# Default if not set: admin:admin
# WEBHOOK_BASIC_AUTH=admin:$apr1$cD4Mrtmi$JhZyfPTMuRY7yISp0b31i1
# ============================================
# CACHET Admin user
# ============================================
CACHET_ADMIN_NAME="Bob Admin"
CACHET_ADMIN_USERNAME="bob.admin@example.com"
CACHET_ADMIN_PASSWORD="MySecurePassword!"
# ============================================
# CACHET API (for middleware)
# ============================================
# Internal URL (between containers)
CACHET_API_URL=http://cachet/api
# API token for middleware operations (leave it blank, it will be generated after first setup)
CACHET_API_TOKEN=""