-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.docker.example
More file actions
128 lines (103 loc) · 3.43 KB
/
Copy path.env.docker.example
File metadata and controls
128 lines (103 loc) · 3.43 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# ============================================
# PropManager Docker Environment Configuration
# Copy this file to .env.docker and fill in values
# ============================================
# ============================================
# Docker Compose Settings
# ============================================
# PostgreSQL password (required)
POSTGRES_PASSWORD=change-me-to-secure-password
# Web port (default: 8000)
WEB_PORT=8000
# ============================================
# Django Core Settings
# ============================================
# Generate with: python -c "from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())"
SECRET_KEY=change-me-to-a-random-string-at-least-50-characters-long
# Allowed hosts (comma-separated, no spaces)
ALLOWED_HOSTS=localhost,127.0.0.1,yourdomain.com
# Site URL - the public URL where the app is accessible
# Used for generating links in emails, signing workflows, etc.
# Examples: https://propmanager.arctek.us, https://properties.fonserve.net
SITE_URL=https://yourdomain.com
# Debug mode (set to False in production!)
DEBUG=False
# ============================================
# Database (auto-configured by Docker Compose)
# Only set if using external database
# ============================================
# DATABASE_URL=postgres://propmanager:password@db:5432/propmanager
# ============================================
# Redis (auto-configured by Docker Compose)
# Only set if using external Redis
# ============================================
# REDIS_URL=redis://redis:6379/0
# ============================================
# Email Configuration
# ============================================
EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USE_TLS=True
EMAIL_HOST_USER=your-email@gmail.com
EMAIL_HOST_PASSWORD=your-app-password
DEFAULT_FROM_EMAIL=PropManager <noreply@yourdomain.com>
# ============================================
# Twilio (SMS/OTP)
# ============================================
TWILIO_ACCOUNT_SID=
TWILIO_AUTH_TOKEN=
TWILIO_PHONE_NUMBER=
# ============================================
# Payment Gateways
# ============================================
# Stripe
STRIPE_SECRET_KEY=sk_live_...
STRIPE_PUBLISHABLE_KEY=pk_live_...
STRIPE_WEBHOOK_SECRET=whsec_...
# PayPal
PAYPAL_CLIENT_ID=
PAYPAL_CLIENT_SECRET=
PAYPAL_MODE=live
# Square
SQUARE_ACCESS_TOKEN=
SQUARE_ENVIRONMENT=production
SQUARE_LOCATION_ID=
# Authorize.Net
AUTHORIZE_NET_API_LOGIN_ID=
AUTHORIZE_NET_TRANSACTION_KEY=
AUTHORIZE_NET_SIGNATURE_KEY=
AUTHORIZE_NET_CLIENT_KEY=
# Braintree
BRAINTREE_MERCHANT_ID=
BRAINTREE_PUBLIC_KEY=
BRAINTREE_PRIVATE_KEY=
# Plaid
PLAID_CLIENT_ID=
PLAID_SECRET=
PLAID_ENVIRONMENT=production
# Bitcoin
BITCOIN_ENCRYPTION_KEY=
# ============================================
# External APIs
# ============================================
# OpenWeatherMap
OPENWEATHERMAP_API_KEY=
# ============================================
# AI Providers (Optional)
# ============================================
# OpenAI
OPENAI_API_KEY=
# Anthropic (Claude)
ANTHROPIC_API_KEY=
# Google (Gemini)
GOOGLE_API_KEY=
# ============================================
# Logging
# ============================================
DJANGO_LOG_LEVEL=INFO
# ============================================
# SSL Settings (for Nginx)
# ============================================
# Set to False if behind a load balancer that handles SSL
SECURE_SSL_REDIRECT=True