You've already forked AstralRinth
forked from didirus/AstralRinth
* Initial work for modpacks and project types * Code cleanup, fix some issues * Username route getting, remove pointless tests * Base validator types + fixes * Fix strange IML generation * Multiple hash requests for version files * Fix docker build (hopefully) * Legacy routes * Finish validator architecture * Update rust version in dockerfile * Added caching and fixed typo (#203) * Added caching and fixed typo * Fixed clippy error * Removed log for cache * Add final validators, fix how loaders are handled and add icons to tags * Fix search module * Fix parts of legacy API not working Co-authored-by: Redblueflame <contact@redblueflame.com>
34 lines
587 B
Bash
34 lines
587 B
Bash
DEBUG=true
|
|
RUST_LOG=info,sqlx::query=warn
|
|
|
|
CDN_URL=https://cdn.modrinth.com
|
|
|
|
DATABASE_URL=postgresql://labrinth:labrinth@localhost/labrinth
|
|
|
|
MEILISEARCH_ADDR=http://localhost:7700
|
|
MEILISEARCH_KEY=modrinth
|
|
|
|
BIND_ADDR=127.0.0.1:8000
|
|
MOCK_FILE_PATH=/tmp/modrinth
|
|
|
|
STORAGE_BACKEND=local
|
|
|
|
BACKBLAZE_KEY_ID=none
|
|
BACKBLAZE_KEY=none
|
|
BACKBLAZE_BUCKET_ID=none
|
|
|
|
S3_ACCESS_TOKEN=none
|
|
S3_SECRET=none
|
|
S3_URL=none
|
|
S3_REGION=none
|
|
S3_BUCKET_NAME=none
|
|
|
|
# 1 hour
|
|
LOCAL_INDEX_INTERVAL=3600
|
|
# 30 minutes
|
|
VERSION_INDEX_INTERVAL=1800
|
|
|
|
GITHUB_CLIENT_ID=none
|
|
GITHUB_CLIENT_SECRET=none
|
|
|
|
RATE_LIMIT_IGNORE_IPS='[]' |