mirror of
https://github.com/ghndrx/shellmate.git
synced 2026-02-10 14:55:08 +00:00
Add leaderboard API and update website
- /api/leaderboard - returns top 10 players - /api/stats - returns total players/games - /api/health - health check - Website now shows live leaderboard with auto-refresh - Nginx proxies /api to container port 8080
This commit is contained in:
@@ -3,6 +3,7 @@ services:
|
||||
build: .
|
||||
ports:
|
||||
- "22:22"
|
||||
- "8080:8080"
|
||||
environment:
|
||||
- SHELLMATE_SSH_PORT=22
|
||||
- SHELLMATE_REDIS_URL=redis://redis:6379
|
||||
|
||||
Reference in New Issue
Block a user