Files
pos-system/services/iam-service/env.local.example
Ho Ngoc Hai b104fafa85 Refactor auth-service to iam-service and update related documentation
- Renamed auth-service to iam-service across various files for consistency.
- Updated Dockerfiles, deployment configurations, and documentation to reflect the service name change.
- Enhanced testing commands in documentation to point to the new iam-service.
- Removed outdated auth-service files and configurations to streamline the project structure.
- Improved bilingual documentation for clarity on the new service structure and usage.
2025-12-30 20:54:21 +07:00

50 lines
1.3 KiB
Plaintext

# EN: Environment variables for iam-service
# VI: Biến môi trường cho iam-service
# Application
PORT=4000
NODE_ENV=development
API_VERSION=v1
SERVICE_NAME=iam-service
# Database
DATABASE_URL=postgresql://user:password@localhost:5432/goodgo_auth?schema=public
# Redis
REDIS_URL=redis://localhost:6379
# JWT Configuration
JWT_SECRET=your-super-secret-jwt-key-change-in-production
JWT_EXPIRES_IN=15m
JWT_REFRESH_SECRET=your-super-secret-refresh-key-change-in-production
JWT_REFRESH_EXPIRES_IN=7d
JWT_ID_SECRET=your-super-secret-id-key-change-in-production
JWT_ID_EXPIRES_IN=1h
JWT_ISSUER=goodgo-auth
JWT_AUDIENCE=goodgo-api
# OIDC Configuration
OIDC_ISSUER=http://localhost:4000
# Social Auth - Google
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
GOOGLE_REDIRECT_URI=http://localhost:4000/auth/google/callback
# Social Auth - Facebook
FACEBOOK_APP_ID=your-facebook-app-id
FACEBOOK_APP_SECRET=your-facebook-app-secret
FACEBOOK_REDIRECT_URI=http://localhost:4000/auth/facebook/callback
# Social Auth - GitHub
GITHUB_CLIENT_ID=your-github-client-id
GITHUB_CLIENT_SECRET=your-github-client-secret
GITHUB_REDIRECT_URI=http://localhost:4000/auth/github/callback
# CORS
CORS_ORIGIN=http://localhost:3000
# Tracing
TRACING_ENABLED=false
JAEGER_ENDPOINT=