-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
97 lines (76 loc) · 2.74 KB
/
.env.example
File metadata and controls
97 lines (76 loc) · 2.74 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
# ============================================
# PROPS — Environment Variables
# ============================================
# Copy this file to .env and update values.
# See specs/beams-asset-handler/sections/s4-integrations.md §4.9.4
#
# Required variables MUST be set for the application to start.
# Optional variables enable additional features when set.
# ----- Required -----
# Django secret key (MUST be changed in production)
SECRET_KEY=dev-secret-key-change-in-production
# Debug mode (True for development, False for production)
DEBUG=True
# Comma-separated allowed hostnames
ALLOWED_HOSTS=localhost,127.0.0.1
# PostgreSQL connection string
DATABASE_URL=postgres://props:props_dev_password@db:5432/props
# S3 storage toggle
USE_S3=True
# S3 credentials (required when USE_S3=True)
# For Garage: get from `garage key info assets-key`
AWS_S3_ENDPOINT_URL=http://garage:3900
AWS_ACCESS_KEY_ID=changeme
AWS_SECRET_ACCESS_KEY=changeme
AWS_STORAGE_BUCKET_NAME=props-assets
AWS_S3_REGION_NAME=garage
# Site branding
SITE_NAME=PROPS
SITE_SHORT_NAME=PROPS
BARCODE_PREFIX=ASSET
# Brand colour (hex, used for admin theme + email accent)
# BRAND_PRIMARY_COLOR=#4F46E5
# PostgreSQL password (used by db service)
POSTGRES_PASSWORD=props_dev_password
# ----- Optional -----
# Celery / Redis
CELERY_BROKER_URL=redis://redis:6379/0
CELERY_RESULT_BACKEND=redis://redis:6379/0
# Gunicorn workers (production)
# GUNICORN_WORKERS=4
# Zebra label printer (feature disabled if not set)
# ZEBRA_PRINTER_HOST=192.168.1.100
# ZEBRA_PRINTER_PORT=9100
# S3 custom domain (CDN)
# AWS_S3_CUSTOM_DOMAIN=cdn.example.com
# Session duration in seconds (default: 2 weeks)
# SESSION_COOKIE_AGE=1209600
# AI Image Analysis (feature disabled if not set)
# ANTHROPIC_API_KEY=sk-ant-...
# AI_MODEL_NAME=claude-sonnet-4-20250514
# AI_ANALYSIS_DAILY_LIMIT=100
# AI_MAX_IMAGE_PIXELS=3000000
# AI_REQUEST_TIMEOUT=60
# Email configuration (feature disabled if EMAIL_HOST not set in dev)
# EMAIL_HOST=smtp.example.com
# EMAIL_PORT=587
# EMAIL_HOST_USER=noreply@example.com
# EMAIL_HOST_PASSWORD=your-email-password
# EMAIL_USE_TLS=True
# EMAIL_USE_SSL=False
# DEFAULT_FROM_EMAIL=noreply@example.com
# SERVER_EMAIL=errors@example.com
# ADMIN_EMAIL=admin@example.com
# Sentry error tracking (feature disabled if SENTRY_DSN not set)
# For self-hosted Sentry, use your instance's DSN
# SENTRY_DSN=https://examplePublicKey@sentry.yourdomain.com/1
# SENTRY_DSN_JS=https://examplePublicKey@sentry.yourdomain.com/2
# SENTRY_ENVIRONMENT=production
# SENTRY_TRACES_SAMPLE_RATE=0.1
# Production-only
# DOMAIN=assets.yourdomain.com
# ACME_EMAIL=admin@yourdomain.com
# GUNICORN_WORKERS=4
# Docker image version for prod profile (defaults to "latest")
# Set to a specific CalVer tag to pin, e.g. 2026.02.0
# PROPS_VERSION=latest