51 lines
1.2 KiB
Plaintext
51 lines
1.2 KiB
Plaintext
# ============================================================================
|
|
# ENV variables are still supported for backwards compatibility.
|
|
# The preferred approach is to use encrypted credentials (credentials.yml.enc).
|
|
# Rails.app.creds checks ENV first, then falls back to encrypted credentials.
|
|
# ============================================================================
|
|
|
|
# Default Postgres connection
|
|
DB_PASS=password
|
|
DB_NAME=starter_development
|
|
DB_USER=postgres
|
|
DB_HOST=localhost
|
|
DB_PORT=5432
|
|
DB_DIRECT_HOST=localhost
|
|
DB_DIRECT_PORT=5433
|
|
REDIS_URL=redis://localhost:6379/1
|
|
|
|
### Rails ###
|
|
|
|
RAILS_ENV=development
|
|
RAILS_MAX_THREADS=5
|
|
ASSUME_SSL=false
|
|
FORCE_SSL=false
|
|
RAILS_LOG_LEVEL=info
|
|
CI=
|
|
WEB_CONCURRENCY=0
|
|
PORT=3000
|
|
PIDFILE=true
|
|
SESSION_DURATION_HOURS=720
|
|
|
|
# Active Record Encryption (generate with: bin/rails db:encryption:init)
|
|
ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=
|
|
ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=
|
|
ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=
|
|
|
|
STORAGE_SERVICE=amazon
|
|
|
|
### /Rails ###
|
|
|
|
### AWS / Localstack ###
|
|
AWS_ACCESS_KEY_ID=test
|
|
AWS_SECRET_ACCESS_KEY=test
|
|
AWS_REGION=us-east-1
|
|
AWS_BUCKET=starter
|
|
AWS_ENDPOINT=http://localhost:4566
|
|
### /AWS / Localstack ###
|
|
|
|
### Testing ###
|
|
SILENT_TESTS=
|
|
EXAMPLE_TIMEOUT=60
|
|
### / Testing ###
|