-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.env
More file actions
84 lines (71 loc) · 2.52 KB
/
sample.env
File metadata and controls
84 lines (71 loc) · 2.52 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
80
81
82
83
84
# Let's Encrypt Configuration
LETSENCRYPT_EMAIL=admin@example.com
# MySQL Root Configuration
MYSQL_ROOT_USER=root
MYSQL_ROOT_PASSWORD=your_secure_root_password_here
# Optimized Resource Limits for 2-core 4GB VM with Consolidated Database
# Total allocation: ~2.8GB RAM, ~1.5 CPU cores (leaving headroom for OS)
WP_MEMORY=256M
WP_CPUS=0.2
# WordPress Site 1 Configuration
WP1_DOMAIN=site1.example.com
WP1_DB_NAME=wordpress1
WP1_DB_USER=wp1_user
WP1_DB_PASSWORD=your_secure_wp1_password_here
WP1_TABLE_PREFIX=wp1_
WP1_HEALTHCHECK_TOKEN=yoursecrettoken
# WordPress Site 2 Configuration
WP2_DOMAIN=site2.example.com
WP2_DB_NAME=wordpress2
WP2_DB_USER=wp2_user
WP2_DB_PASSWORD=your_secure_wp2_password_here
WP2_TABLE_PREFIX=wp2_
WP2_HEALTHCHECK_TOKEN=yoursecrettoken
# WordPress Site 3 Configuration
WP3_DOMAIN=site3.example.com
WP3_DB_NAME=wordpress3
WP3_DB_USER=wp3_user
WP3_DB_PASSWORD=your_secure_wp3_password_here
WP3_TABLE_PREFIX=wp3_
WP3_HEALTHCHECK_TOKEN=yoursecrettoken
# WordPress Site 4 Configuration
WP4_DOMAIN=site4.example.com
WP4_DB_NAME=wordpress4
WP4_DB_USER=wp4_user
WP4_DB_PASSWORD=your_secure_wp4_password_here
WP4_TABLE_PREFIX=wp4_
WP4_HEALTHCHECK_TOKEN=yoursecrettoken
# WordPress Site 5 Configuration
WP5_DOMAIN=site5.example.com
WP5_DB_NAME=wordpress5
WP5_DB_USER=wp5_user
WP5_DB_PASSWORD=your_secure_wp5_password_here
WP5_TABLE_PREFIX=wp5_
WP5_HEALTHCHECK_TOKEN=yoursecrettoken
# Kimai config
KIMAI_DOMAIN=kimai.example.com
KIMAI_ADMIN_EMAIL=
KIMAI_ADMIN_PASS=your_secure_kimai_password_here
KIMAI_MEMORY=256M
KIMAI_MAILER_FROM=noreply@example.com
KIMAI_DB_NAME=kimai
KIMAI_DB_USER=kimai_user
KIMAI_DB_PASSWORD=
# Uptime Kuma Configuration
UPTIME_KUMA_DB_PASSWORD=
UPTIME_KUMA_ADMIN_USER='admin'
UPTIME_KUMA_ADMIN_PASSWORD=
# Backup Configuration
STORAGE_URL="https://<storageaccount>.blob.core.windows.net/<container>?<SAS_TOKEN>"
# Azure Blob Tier for cost optimization
# Options: Hot, Cool, Archive, Cold
# - Hot: Fast access, higher cost (for frequent access)
# - Cool: Slower access, lower cost (for infrequent access) - RECOMMENDED for backups
# - Archive: Very slow access, lowest cost (for long-term storage)
# - Cold: Between Cool and Archive
BLOB_TIER=Cool
# Blob Tier Management (for manage-blob-tiers.sh script)
# Days before transitioning between tiers
COOL_TO_COLD_DAYS=30 # Move from Cool to Cold after 30 days
COLD_TO_ARCHIVE_DAYS=90 # Move from Cold to Archive after 90 days
ARCHIVE_DELETE_DAYS=365 # Delete Archive blobs after 1 year