Added MinIO integration and logic
This commit is contained in:
@@ -5,7 +5,7 @@ from dotenv import load_dotenv
|
||||
load_dotenv()
|
||||
|
||||
# Redis 기본 설정
|
||||
REDIS_HOST = "ocr_redis"
|
||||
REDIS_HOST = "ocr_perf_redis"
|
||||
REDIS_PORT = 6379
|
||||
REDIS_DB = 0
|
||||
|
||||
@@ -14,8 +14,13 @@ CELERY_BROKER_URL = f"redis://{REDIS_HOST}:{REDIS_PORT}/0"
|
||||
CELERY_RESULT_BACKEND = f"redis://{REDIS_HOST}:{REDIS_PORT}/1"
|
||||
|
||||
# Celery Flower 설정
|
||||
CELERY_FLOWER = "http://ocr_celery_flower:5557/api/workers"
|
||||
CELERY_FLOWER = "http://ocr_perf_flower:5557/api/workers"
|
||||
|
||||
# Upstage API Key
|
||||
UPSTAGE_API_KEY = os.getenv("UPSTAGE_API_KEY")
|
||||
|
||||
# MinIO Settings
|
||||
MINIO_ENDPOINT = os.getenv("MINIO_ENDPOINT")
|
||||
MINIO_ACCESS_KEY = os.getenv("MINIO_ACCESS_KEY")
|
||||
MINIO_SECRET_KEY = os.getenv("MINIO_SECRET_KEY")
|
||||
MINIO_BUCKET_NAME = os.getenv("MINIO_BUCKET_NAME")
|
||||
|
||||
Reference in New Issue
Block a user