first commit - MVE Incrementables Parser microservice with FastAPI, JWT, Celery, Redis
This commit is contained in:
21
.env.example
Normal file
21
.env.example
Normal file
@@ -0,0 +1,21 @@
|
||||
# Authentication
|
||||
AUTH_USERNAME=admin
|
||||
# Generate hash: python -c "from passlib.hash import bcrypt; print(bcrypt.hash('your_password'))"
|
||||
AUTH_PASSWORD_HASH=$2b$12$LQv3c1yqBWVHxkd0LHAkCOYz6TtxMQJqhN8/LewY5GyYqwMzYXhHO
|
||||
JWT_SECRET=your-secret-key-change-this-in-production
|
||||
JWT_EXPIRES_MINUTES=60
|
||||
|
||||
# File Upload
|
||||
MAX_FILE_MB=10
|
||||
|
||||
# Logging
|
||||
LOG_LEVEL=INFO
|
||||
|
||||
# Redis/Celery
|
||||
REDIS_URL=redis://redis:6379/0
|
||||
CELERY_BROKER_URL=redis://redis:6379/0
|
||||
CELERY_RESULT_BACKEND=redis://redis:6379/0
|
||||
|
||||
# Service
|
||||
SERVICE_NAME=mve-incrementables-parser
|
||||
SERVICE_VERSION=1.0.0
|
||||
Reference in New Issue
Block a user