-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.staging.example
More file actions
61 lines (49 loc) · 1.35 KB
/
.env.staging.example
File metadata and controls
61 lines (49 loc) · 1.35 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
# Staging Environment Configuration
# Copy this file to .env.staging and update with your values
# Application
ENVIRONMENT=staging
RAILS_ENV=staging
NODE_ENV=production
# Registry and Images
REGISTRY_URL=your-registry.com
VERSION=develop-latest
# Domains
STAGING_DOMAIN=staging.powernode.io
ACME_EMAIL=admin@powernode.io
# URLs
STAGING_URL=https://staging.powernode.io
BACKEND_URL=https://staging.powernode.io/api
FRONTEND_URL=https://staging.powernode.io
WORKER_URL=http://worker:4567
# Docker Compose
COMPOSE_PROJECT_NAME=powernode-staging
# Monitoring
PROMETHEUS_TOKEN=
LOKI_URL=http://loki:3100
GRAFANA_URL=https://grafana-staging.powernode.io
# Notifications
ALERT_FROM_EMAIL=alerts-staging@powernode.io
CRITICAL_EMAIL=oncall-staging@powernode.io
WARNING_EMAIL=ops-staging@powernode.io
INFO_EMAIL=logs-staging@powernode.io
DEFAULT_EMAIL=admin-staging@powernode.io
DBA_EMAIL=dba-staging@powernode.io
DEV_EMAIL=dev-staging@powernode.io
# SMTP (for staging alerts)
SMTP_HOST=smtp.powernode.io:587
SMTP_USERNAME=alerts-staging
SMTP_PASSWORD=
# Optional: External services
SLACK_WEBHOOK_URL=
PAGERDUTY_SERVICE_KEY=
# Storage
POSTGRES_BACKUP_RETENTION=7d
REDIS_BACKUP_RETENTION=3d
# Performance tuning (staging)
RAILS_MAX_THREADS=10
WEB_CONCURRENCY=1
SIDEKIQ_CONCURRENCY=5
# Security (relaxed for staging)
FORCE_SSL=false
RAILS_SERVE_STATIC_FILES=true
RAILS_LOG_LEVEL=debug