-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
41 lines (34 loc) · 928 Bytes
/
.env.example
File metadata and controls
41 lines (34 loc) · 928 Bytes
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
# phpBorg Configuration
# Copy this file to .env and configure your settings
# Database Configuration
DB_HOST=127.0.0.1
DB_PORT=3306
DB_NAME=phpborg
DB_USER=phpborg
DB_PASSWORD=your_secure_password_here
DB_CHARSET=utf8mb4
# Borg Backup Configuration
BORG_BINARY_PATH=/usr/bin/borg
BORG_BACKUP_PATH=/data/backups
BORG_ARCHIVE_DIR=backup
BORG_LVM_SNAP_NAME=phpborg
# Backup Server IPs
BORG_SERVER_IP_PUBLIC=91.200.205.105
BORG_SERVER_IP_PRIVATE=10.10.70.70
# Logging Configuration
LOG_PATH=/var/log/phpborg.log
LOG_LEVEL=info
LOG_CHANNEL=phpborg
# Application Configuration
APP_ENV=production
APP_DEBUG=false
APP_TIMEZONE=UTC
# Security
# Generate a secure random key for encryption
# You can use: php -r "echo bin2hex(random_bytes(32));"
APP_SECRET=your_secret_key_here
# Web Interface (optional)
WEB_ENABLED=true
WEB_AUTH_REQUIRED=true
WEB_USERNAME=admin
WEB_PASSWORD_HASH='$2y$10$...' # Use password_hash() to generate