forked from twentyhq/twenty
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeployment.config.example
More file actions
112 lines (98 loc) · 4.25 KB
/
deployment.config.example
File metadata and controls
112 lines (98 loc) · 4.25 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# HVAC CRM Deployment Configuration
# Copy this file to deployment.config and customize for your environment
# =============================================================================
# VPS Configuration
# =============================================================================
VPS_HOST=your-vps-ip-or-hostname
VPS_USER=root
SSH_KEY_PATH=/path/to/your/ssh/private/key
# Leave SSH_KEY_PATH empty to use password authentication
# =============================================================================
# Domain and SSL Configuration
# =============================================================================
DOMAIN=hvac.yourdomain.com
EMAIL=your-email@domain.com
# =============================================================================
# Application Configuration
# =============================================================================
APP_NAME=hvac-crm
DEPLOY_DIR=/opt/hvac-crm
REPO_URL=https://github.com/Cooliber/Fulmark20CRM.git
# =============================================================================
# Database Configuration
# =============================================================================
# These will be auto-generated if not specified
# PG_DATABASE_PASSWORD=your-secure-password
# APP_SECRET=your-app-secret
# =============================================================================
# HVAC Specific Configuration
# =============================================================================
HVAC_ENABLED=true
HVAC_SENTRY_DSN=your-sentry-dsn-here
HVAC_WEAVIATE_URL=http://localhost:8080
HVAC_WEAVIATE_API_KEY=
# =============================================================================
# Storage Configuration
# =============================================================================
STORAGE_TYPE=local
# For production, consider using S3:
# STORAGE_TYPE=s3
# STORAGE_S3_REGION=us-east-1
# STORAGE_S3_NAME=your-bucket-name
# STORAGE_S3_ENDPOINT=
# =============================================================================
# Email Configuration (Optional)
# =============================================================================
# EMAIL_FROM_ADDRESS=noreply@yourdomain.com
# EMAIL_FROM_NAME=HVAC CRM System
# EMAIL_SYSTEM_ADDRESS=system@yourdomain.com
# EMAIL_DRIVER=smtp
# EMAIL_SMTP_HOST=smtp.your-provider.com
# EMAIL_SMTP_PORT=587
# EMAIL_SMTP_USER=your-smtp-user
# EMAIL_SMTP_PASSWORD=your-smtp-password
# =============================================================================
# Monitoring Configuration
# =============================================================================
BACKUP_RETENTION_DAYS=7
MONITORING_INTERVAL=5 # minutes
HEALTH_CHECK_TIMEOUT=30 # seconds
# =============================================================================
# Security Configuration
# =============================================================================
ENABLE_FIREWALL=true
ALLOWED_SSH_IPS= # Comma-separated list, leave empty for all IPs
FAIL2BAN_ENABLED=true
# =============================================================================
# Performance Configuration
# =============================================================================
DOCKER_MEMORY_LIMIT=2g
DOCKER_CPU_LIMIT=1.0
POSTGRES_SHARED_BUFFERS=256MB
REDIS_MAXMEMORY=512mb
# =============================================================================
# Development/Testing Configuration
# =============================================================================
# Set to true for development deployments
DEVELOPMENT_MODE=false
DEBUG_LOGGING=false
SKIP_SSL=false # Only for development!
# =============================================================================
# Backup Configuration
# =============================================================================
BACKUP_ENABLED=true
BACKUP_SCHEDULE="0 2 * * *" # Daily at 2 AM
BACKUP_LOCATION=/opt/backups/hvac-crm
S3_BACKUP_BUCKET= # Optional: backup to S3
# =============================================================================
# Notification Configuration
# =============================================================================
# Slack webhook for deployment notifications
SLACK_WEBHOOK_URL=
DISCORD_WEBHOOK_URL=
# Email notifications for critical issues
ALERT_EMAIL=admin@yourdomain.com
SMTP_ALERT_HOST=
SMTP_ALERT_PORT=587
SMTP_ALERT_USER=
SMTP_ALERT_PASSWORD=