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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user