48 lines
1.2 KiB
Plaintext
Executable File
48 lines
1.2 KiB
Plaintext
Executable File
# Application data
|
|
RAILS_ENV=development
|
|
SECRET_KEY_BASE=a3f5c6e7b8d9e0f1a2b3c4d5e6f7g8h9i0j1k2l3m4n5o6p7q8r9s0t1u2v3w4x5y6z7
|
|
DEVISE_SECRET_KEY=your_devise_secret_key_here
|
|
APP_NAME=Aperonight
|
|
|
|
# Database Configuration for production and development
|
|
DB_HOST=localhost
|
|
DB_ROOT_PASSWORD=root
|
|
DB_DATABASE=aperonight
|
|
DB_USERNAME=root
|
|
DB_PASSWORD=root
|
|
|
|
# Test database
|
|
DB_TEST_ADAPTER=sqlite3
|
|
DB_TEST_DATABASE=aperonight_test
|
|
DB_TEST_USERNAME=root
|
|
DB_TEST_USERNAME=root
|
|
|
|
# Mailer Configuration (for Devise and tests)
|
|
MAILER_DEFAULT_URL_OPTIONS=http://localhost:3000
|
|
# Test environment will use MailHog by default on 127.0.0.1:1025
|
|
SMTP_ADDRESS=127.0.0.1
|
|
SMTP_PORT=1025
|
|
# Optional auth (usually not required for MailHog)
|
|
# SMTP_USER_NAME=
|
|
# SMTP_PASSWORD=
|
|
# SMTP_DOMAIN=localhost
|
|
SMTP_AUTHENTICATION=plain
|
|
SMTP_ENABLE_STARTTLS=false
|
|
|
|
# Production SMTP Configuration (set these in .env.production)
|
|
# SMTP_ADDRESS=smtp.example.com
|
|
# SMTP_PORT=587
|
|
# SMTP_USERNAME=your_smtp_username
|
|
# SMTP_PASSWORD=your_smtp_password
|
|
# SMTP_AUTHENTICATION=plain
|
|
# SMTP_DOMAIN=example.com
|
|
# SMTP_STARTTLS=true
|
|
|
|
# Application variables
|
|
STRIPE_API_KEY=1337
|
|
|
|
# OpenAI login
|
|
OPENAI_API_KEY=f66dbb5f-9770-4f81-b2ea-eb7370bc9aa5
|
|
OPENAI_BASE_URL=https://api.scaleway.ai/v1
|
|
OPENAI_MODEL=devstral-small-2505
|