-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
60 lines (46 loc) · 1.56 KB
/
.env.example
File metadata and controls
60 lines (46 loc) · 1.56 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
# ===========================================
# Spell Binder Environment Config
# ===========================================
# PocketBase Configuration
# REQUIRED: Generate a secure encryption key (32+ characters)
PB_ENCRYPTION_KEY=your-secure-encryption-key-here-32-chars-minimum
# Optional: Pre-configure admin user (leave empty for setup wizard)
PB_ADMIN_EMAIL=
PB_ADMIN_PASSWORD=
# PocketBase Version
PB_VERSION=0.19.4
# ===========================================
# Docker Configuration
# ===========================================
# Container settings
CONTAINER_NAME=spell-binder
IMAGE_TAG=latest
# Port configuration
HOST_PORT=8080
HTTP_PORT=80
HTTPS_PORT=443
# Nginx container (for production with SSL)
NGINX_CONTAINER_NAME=spell-binder-nginx
# ===========================================
# Volume and Directory Configuration
# ===========================================
# Backup directory (host path)
BACKUP_DIR=./backups
# Log directory (host path)
LOG_DIR=./logs
# Timezone
TIMEZONE=UTC
# ===========================================
# Development Configuration
# ===========================================
# Frontend development server
VITE_POCKETBASE_URL=http://localhost:8090
# ===========================================
# Production Security Notes
# ===========================================
# 1. Generate a strong PB_ENCRYPTION_KEY using: openssl rand -base64 32
# 2. Set strong admin credentials or use the setup wizard
# 3. Configure proper backup strategy
# 4. Set up SSL certificates for HTTPS
# 5. Configure firewall rules
# 6. Regular security updates