Files
shelflife/.env.example
Dan Milne 425fe2d6da
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
Add optional sentry config, move active_storage into storage/uploads/
2025-11-01 12:34:40 +11:00

27 lines
847 B
Plaintext

# Rails Production Environment Variables
# Copy this file to .env and fill in the values
# Required: Secret Key Base for production
# Generate this key using any of these Linux-compatible methods:
# Method 1: Using OpenSSL (recommended - most reliable)
# openssl rand -hex 64
# Method 2: From Rails application (if Rails is available)
# bin/rails secret
SECRET_KEY_BASE=your_generated_64_byte_hex_string_here
# Optional: Additional environment variables
# Uncomment and modify as needed
# Application host for URL generation in production
# Required for OAuth callbacks and mailer links
APPLICATION_HOST=your-production-domain.com
# Sentry error tracking and performance monitoring
# Get your DSN from your Sentry project settings
SENTRY_DSN=https://your-dsn-here@sentry.io/project-id
# Logging configuration
# RAILS_LOG_TO_STDOUT=true