initial commit
This commit is contained in:
55
.env.example
Normal file
55
.env.example
Normal file
@@ -0,0 +1,55 @@
|
||||
# Penpot Environment Variables Template
|
||||
# Copy this file to .env and fill in the secure values.
|
||||
|
||||
# ==========================================
|
||||
# ENVIRONMENT TOGGLE: DEV vs PRODUCTION
|
||||
# ==========================================
|
||||
|
||||
# ---> OPTION A: DEVELOPMENT (No SSL / Plain HTTP)
|
||||
# Prefix your IP or localhost with http:// to disable SSL generation.
|
||||
# CADDY_SITE_ADDRESS=http://192.168.1.50
|
||||
# PENPOT_PUBLIC_URI=http://192.168.1.50
|
||||
|
||||
# ---> OPTION B: PRODUCTION (Automatic SSL via Let's Encrypt)
|
||||
# Comment out Option A, and uncomment these two lines.
|
||||
# Do NOT prefix CADDY_SITE_ADDRESS with https://, just the domain.
|
||||
# CADDY_SITE_ADDRESS=design.yourdomain.com
|
||||
# PENPOT_PUBLIC_URI=https://design.yourdomain.com
|
||||
|
||||
# ==========================================
|
||||
|
||||
# --- Domain and SSL Setup ---
|
||||
CADDY_SITE_ADDRESS=https://design.yourdomain.com
|
||||
PENPOT_PUBLIC_URI=https://design.yourdomain.com
|
||||
TLS_EMAIL=admin@yourdomain.com
|
||||
|
||||
# --- Security ---
|
||||
# Generate a random string for this (e.g., using `openssl rand -base64 32`)
|
||||
PENPOT_SECRET_KEY=your_super_secret_key_here
|
||||
|
||||
# --- Database Setup ---
|
||||
# Must match between PostgreSQL and Backend
|
||||
POSTGRES_USER=penpot
|
||||
POSTGRES_PASSWORD=your_secure_db_password
|
||||
POSTGRES_DB=penpot
|
||||
PENPOT_DATABASE_URI=postgresql://penpot-postgres/penpot
|
||||
PENPOT_DATABASE_USERNAME=penpot
|
||||
PENPOT_DATABASE_PASSWORD=your_secure_db_password
|
||||
|
||||
# --- Redis Setup ---
|
||||
PENPOT_REDIS_URI=redis://penpot-redis/0
|
||||
|
||||
# --- Telemetry (Optional) ---
|
||||
# Set to true to disable sending anonymous telemetry to Penpot
|
||||
PENPOT_TELEMETRY_ENABLED=false
|
||||
|
||||
# --- Email (SMTP) Configuration ---
|
||||
# Required for user registration, password resets, and team invites
|
||||
PENPOT_SMTP_DEFAULT_FROM=penpot@yourdomain.com
|
||||
PENPOT_SMTP_DEFAULT_REPLY_TO=penpot@yourdomain.com
|
||||
PENPOT_SMTP_HOST=smtp.yourprovider.com
|
||||
PENPOT_SMTP_PORT=587
|
||||
PENPOT_SMTP_USERNAME=your_smtp_username
|
||||
PENPOT_SMTP_PASSWORD=your_smtp_password
|
||||
PENPOT_SMTP_TLS=true
|
||||
PENPOT_SMTP_SSL=false
|
||||
Reference in New Issue
Block a user