Clean public release with: - Go/Gin/PostgreSQL/Redis architecture - Multi-tenant support - JWT authentication - Docker Compose deployment - Environment-based configuration
30 lines
698 B
Plaintext
30 lines
698 B
Plaintext
# MengStack Environment Configuration
|
|
# Copy to .env and fill in actual values
|
|
|
|
# Server
|
|
MENGSTACK_SERVER_PORT=2222
|
|
MENGSTACK_SERVER_MODE=debug
|
|
|
|
# PostgreSQL
|
|
MENGSTACK_DATABASE_HOST=127.0.0.1
|
|
MENGSTACK_DATABASE_PORT=5432
|
|
MENGSTACK_DATABASE_USER=postgres
|
|
MENGSTACK_DATABASE_PASSWORD=
|
|
MENGSTACK_DATABASE_DBNAME=mengstack
|
|
MENGSTACK_DATABASE_SSLMODE=disable
|
|
|
|
# Redis
|
|
MENGSTACK_REDIS_ADDR=127.0.0.1:6379
|
|
MENGSTACK_REDIS_PASSWORD=
|
|
MENGSTACK_REDIS_DB=0
|
|
|
|
# JWT (MUST change in production)
|
|
MENGSTACK_JWT_SECRET=change-me-in-production
|
|
MENGSTACK_JWT_ACCESS_EXPIRY_MINUTES=30
|
|
MENGSTACK_JWT_REFRESH_EXPIRY_DAYS=7
|
|
MENGSTACK_JWT_ISSUER=mengstack
|
|
|
|
# Logging
|
|
MENGSTACK_LOG_LEVEL=debug
|
|
MENGSTACK_LOG_FORMAT=console
|