feat(pp-calculator): support other pp calculators (#57)

New configurations:

- CALCULATOR="rosu": specific pp calculator
- CALCULATOR_CONFIG='{}': argument passed through into calculator
This commit is contained in:
MingxuanGame
2025-10-18 19:10:53 +08:00
committed by GitHub
parent 563a30d28f
commit 8790ccad64
16 changed files with 496 additions and 189 deletions

View File

@@ -14,6 +14,8 @@ services:
- MYSQL_HOST=mysql
- MYSQL_PORT=3306
- REDIS_URL=redis://redis:6379
# - CALCULATOR=performance_server
# - CALCULATOR_CONFIG='{"server_url":"http://performance-server:8080"}'
env_file:
- .env
depends_on:
@@ -102,6 +104,15 @@ services:
- osu-network
command: redis-server --appendonly yes
# performance-server:
# image: ghcr.io/googuteam/osu-performance-server:custom-rulesets
# container_name: performance_server
# environment:
# - SAVE_BEATMAP_FILES=false
# restart: unless-stopped
# networks:
# - osu-network
volumes:
mysql_data:
redis_data: