logto-nextjs/.env.logto.example
2025-07-28 15:37:21 +02:00

34 lines
937 B
Plaintext

# Logto Configuration for Development
DB_URL=postgres://postgres:p0stgr3s@postgres:5432/logto
NODE_ENV=development
# Core endpoints
# Pour la communication container-to-container, utilisez le nom du service
ENDPOINT=http://localhost:3001
ADMIN_ENDPOINT=http://localhost:3002
# Ports
PORT=3001
ADMIN_PORT=3002
# Database settings
DB_POOL_SIZE=20
DB_CONNECTION_TIMEOUT=30000
# Security settings (development only)
COOKIE_KEYS=your-secret-key-change-in-production-12345678901234567890
JWT_SECRET=your-jwt-secret-change-in-production-12345678901234567890
# CORS settings for development
# Permettre les requêtes depuis l'application Next.js
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8080,http://jaimes:3000
# Admin settings
ADMIN_DISABLE_LOCALHOST_RESTRICTION=true
# Feature flags
ENABLE_WELLKNOWN=true
# Database initialization
LOGTO_DATABASE_URL=postgres://postgres:p0stgr3s@postgres:5432/logto
AUTO_MIGRATE=true