first commit
This commit is contained in:
30
.env.example
Normal file
30
.env.example
Normal file
@@ -0,0 +1,30 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user