You've already forked AstralRinth
forked from didirus/AstralRinth
* feat(indexing): Reindex curseforge & local database at an interval * fix(indexing): Use strings for meilisearch primary key Fixes #17 by prefixing curseforge ids with "curse-" and local ids with "local-". * feat(indexing): Add newly created mods to the index more quickly * feat(indexing): Implement faceted search, update to meilisearch master Fixes #9, but only uses faceted search for categories. It should be reasonably simple to add support for versions, but it may not be as useful due to the large number of versions and the large number of supported versions for each mod. * feat(indexing): Allow skipping initial indexing Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
22 lines
377 B
Bash
22 lines
377 B
Bash
DEBUG=true
|
|
|
|
CDN_URL=cdn.modrinth.com
|
|
|
|
DATABASE_URL=postgresql://labrinth@localhost/labrinth
|
|
MEILISEARCH_ADDR=http://localhost:7700
|
|
|
|
BIND_ADDR=127.0.0.1:8000
|
|
|
|
MOCK_FILE_PATH=/tmp/modrinth
|
|
|
|
BACKBLAZE_ENABLED=false
|
|
BACKBLAZE_KEY_ID=none
|
|
BACKBLAZE_KEY=none
|
|
BACKBLAZE_BUCKET_ID=none
|
|
|
|
INDEX_CURSEFORGE=false
|
|
# 1 hour
|
|
LOCAL_INDEX_INTERVAL=3600
|
|
# 4 hours
|
|
EXTERNAL_INDEX_INTERVAL=14400
|