Files
Trackeep/Others/oauth-service/.env.example
T
Tomas Dvorak d27cf14110 first test
2026-02-08 14:14:55 +01:00

27 lines
774 B
Bash

# OAuth Service Configuration
OAUTH_SERVICE_PORT=9090
OAUTH_GIN_MODE=debug
OAUTH_CORS_ALLOWED_ORIGINS=*
# GitHub OAuth Configuration
GITHUB_CLIENT_ID=your_github_client_id
GITHUB_CLIENT_SECRET=your_github_client_secret
GITHUB_REDIRECT_URL=http://localhost:9090/auth/github/callback
# Production URLs (update these for your deployment)
DEFAULT_CLIENT_URL=https://yourdomain.com
SERVICE_DOMAIN=https://oauth.yourdomain.com
# JWT Configuration for OAuth Service
OAUTH_JWT_SECRET=your_oauth_jwt_secret_here
OAUTH_JWT_EXPIRES_IN=24h
# Database Configuration (if using separate database for OAuth)
OAUTH_DB_TYPE=postgres
OAUTH_DB_HOST=localhost
OAUTH_DB_PORT=5432
OAUTH_DB_USER=oauth_user
OAUTH_DB_PASSWORD=your_oauth_password
OAUTH_DB_NAME=oauth_db
OAUTH_DB_SSL_MODE=disable