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

@@ -17,6 +17,8 @@ services:
- ENABLE_ALL_MODS_PP=true
- ENABLE_SUPPORTER_FOR_ALL_USERS=true
- ENABLE_ALL_BEATMAP_LEADERBOARD=true
# - CALCULATOR=performance_server
# - CALCULATOR_CONFIG='{"server_url":"http://performance-server:8080"}'
env_file:
- .env
depends_on:
@@ -109,6 +111,15 @@ services:
networks:
- osu-network
# performance-server:
# image: ghcr.io/googuteam/osu-performance-server-osurx:custom-rulesets
# container_name: performance_server_osurx
# environment:
# - SAVE_BEATMAP_FILES=false
# restart: unless-stopped
# networks:
# - osu-network
volumes:
mysql_data:
redis_data: