Files
gapido-grpc-auth/.env.example

27 lines
731 B
Plaintext

APP_ENV=local
MONGO_URI=mongodb://localhost:27017
MONGO_DB_NAME=gapido_auth
REDIS_URL=redis://localhost:6379/0
RABBITMQ_URL=amqp://guest:guest@localhost:5672/
JWT_SECRET_KEY=change-me-use-a-long-random-secret
JWT_ISSUER=gapido-auth
ACCESS_TOKEN_TTL_SECONDS=900
REFRESH_TOKEN_TTL_SECONDS=604800
OTP_TTL_SECONDS=120
OTP_MAX_ATTEMPTS=5
OTP_REQUEST_LIMIT=3
OTP_REQUEST_WINDOW_SECONDS=300
SMS_PROVIDER=debug
KAVENEGAR_API_KEY=replace-with-real-key
KAVENEGAR_LOGIN_TEMPLATE=login-otp
SMS_IR_API_KEY=replace-with-real-key
SMS_IR_VERIFY_TEMPLATE_ID=570574
AUTH_GRPC_TARGET=localhost:50051
DEMO_ENABLE_DEBUG_OTP=true
DEMO_DEBUG_SMS_TTL_SECONDS=300
DEMO_HOST=0.0.0.0
DEMO_PORT=8080
ADMIN_MOBILE=09120000000
GRPC_HOST=0.0.0.0
GRPC_PORT=50051