Compare commits

..

No commits in common. "3e8824ef0e0c906bc201aedafed57ea9f5e596e2" and "c789ebf2914f93e4178c6864a61c74c66bda4489" have entirely different histories.

2 changed files with 40 additions and 2 deletions

37
.env Normal file
View File

@ -0,0 +1,37 @@
# Docker Database Configuration (used by docker-compose)
ROOT_DB_PASSWORD=RootSecurePassword789!
APP_DB_PASSWORD=AppSecurePassword456!
PMA_CONTROL_PASS=ControlPassword123!
PMA_SECRET=YourBlowfishSecretKeyHere32CharsMinimum!
# Application Database Configuration (defaults - overridden in .env.local)
DB_HOST=localhost
DB_PORT=3306
DB_NAME=nordic_storium
DB_USER=nordic_app_user
DB_PASSWORD=AppSecurePassword456!
DATABASE_URL="mysql://nordic_app_user:AppSecurePassword456!@localhost:3306/nordic_storium"
# JWT Authentication
JWT_SECRET=YourSuperSecretJWTKeyForNordicStorium2024!
# Session Security
SESSION_SECRET=YourSessionSecretKey123!
ENCRYPTION_KEY=Your32ByteEncryptionKeyHere123456789012!
# Next.js Configuration
NEXT_PUBLIC_APP_URL=http://localhost:3000
NEXT_PUBLIC_API_URL=/api
NODE_ENV=development
# Enable/Disable features
ENABLE_REGISTRATION=true
ENABLE_EMAIL_VERIFICATION=false
ENABLE_RATE_LIMITING=true
MAX_LOGIN_ATTEMPTS=5
CONTACT_EMAIL=ismail@abrahem.se
LOG_LEVEL=debug
ENABLE_SQL_LOGGING=false

5
.gitignore vendored
View File

@ -1,7 +1,8 @@
# Environment files # Environment files
.env
.env.local .env.local
.env.production .env.development.local
.env.test.local
.env.production.local
# Docker # Docker
docker-compose.override.yml docker-compose.override.yml