Files
paste/.env.example
Blake Ridgway 6915cab5f3 first commit
2026-04-11 14:01:09 -05:00

31 lines
1007 B
Plaintext

# paste.ridgwaysystems.org configuration
# Copy to .env and fill in values. Never commit .env to version control.
# ------------------------------------------------------------------
# Server
# ------------------------------------------------------------------
# Port to listen on (default: 8081)
PORT=8081
# Public URL of the site (no trailing slash)
SITE_URL=https://paste.ridgwaysystems.org
# Path to data directory where paste JSON files are stored (default: data)
DATA_DIR=data
# Set to "1" to enable development mode (template reloading on each request)
DEV=0
# ------------------------------------------------------------------
# Admin authentication
# ------------------------------------------------------------------
# bcrypt hash of the admin password.
# Generate with: make genhash
ADMIN_PASSWORD_HASH=$2a$12$examplehashgoeshere...
# Secret key for signing session cookies. Use a long random string.
# Generate with: openssl rand -hex 32
SESSION_SECRET=change-me-use-openssl-rand-hex-32