test build
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
jze9
2026-05-18 01:14:40 +05:00
commit 2a14350ee3
46 changed files with 3620 additions and 0 deletions

34
.env.example Normal file
View 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