37 lines
810 B
Plaintext
37 lines
810 B
Plaintext
# Environment Configuration Example
|
|
# Copy this file to .env and update with your values
|
|
|
|
ENV=development
|
|
|
|
# Port Configuration
|
|
CONSOLE_BACKEND_PORT=8011
|
|
CONSOLE_FRONTEND_PORT=3000
|
|
USERS_SERVICE_PORT=8001
|
|
MONGODB_PORT=27017
|
|
REDIS_PORT=6379
|
|
|
|
# Database Configuration
|
|
MONGODB_URL=mongodb://mongodb:27017
|
|
MONGODB_DATABASE=site11_db
|
|
USERS_DB_NAME=users_db
|
|
|
|
# Redis Configuration
|
|
REDIS_URL=redis://redis:6379
|
|
|
|
# JWT Configuration
|
|
JWT_SECRET_KEY=change-this-secret-key-in-production
|
|
JWT_ALGORITHM=HS256
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=30
|
|
|
|
# Service URLs (Internal)
|
|
USERS_SERVICE_URL=http://users-backend:8000
|
|
|
|
# Frontend Configuration
|
|
VITE_API_URL=http://localhost:8011
|
|
|
|
# Kafka Configuration (Future)
|
|
# KAFKA_BOOTSTRAP_SERVERS=kafka:9092
|
|
# KAFKA_GROUP_ID=site11-group
|
|
|
|
# Docker Configuration
|
|
COMPOSE_PROJECT_NAME=site11 |