This commit is contained in:
34
.env.example
Normal file
34
.env.example
Normal file
@@ -0,0 +1,34 @@
|
||||
# PostgreSQL
|
||||
DATABASE_URL=postgresql://antiplagiator:antiplagiator_dev@localhost:5432/antiplagiator
|
||||
|
||||
# Elasticsearch
|
||||
ELASTICSEARCH_HOST=localhost
|
||||
ELASTICSEARCH_PORT=9200
|
||||
|
||||
# Redis / Celery
|
||||
REDIS_URL=redis://localhost:6379/0
|
||||
CELERY_BROKER_URL=redis://localhost:6379/0
|
||||
CELERY_RESULT_BACKEND=redis://localhost:6379/0
|
||||
|
||||
# MinIO
|
||||
MINIO_ENDPOINT=localhost:9000
|
||||
MINIO_ACCESS_KEY=minioadmin
|
||||
MINIO_SECRET_KEY=minioadmin
|
||||
MINIO_BUCKET=antiplagiator
|
||||
MINIO_SECURE=false
|
||||
|
||||
# JWT — change in production!
|
||||
SECRET_KEY=change-me-in-production
|
||||
ALGORITHM=HS256
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES=30
|
||||
|
||||
# Analysis thresholds
|
||||
FINGERPRINT_THRESHOLD=0.5
|
||||
SEMANTIC_THRESHOLD=0.6
|
||||
TOP_K_RESULTS=10
|
||||
|
||||
# Data directories
|
||||
DATA_DIR=./data
|
||||
RAW_DATA_DIR=./data/raw
|
||||
PROCESSED_DATA_DIR=./data/processed
|
||||
INDEX_DIR=./data/index
|
||||
Reference in New Issue
Block a user