feat: API analytics dashboard with i18n and theme support
Next.js full-stack analytics dashboard for new-api. - Direct PostgreSQL readonly queries on logs table - 5 pages: Dashboard, Rankings, Aggregation, Logs, Detail - Dark/Light/System theme with CSS variables - Chinese/English i18n (default Chinese) - Recharts with dual Y-axis for input/output tokens - Lucide icons + Motion animations - Docker + docker-compose with external sinobridge network, port 8019
This commit is contained in:
15
docker-compose.yml
Normal file
15
docker-compose.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
services:
|
||||
analytics:
|
||||
build: .
|
||||
container_name: new-api-analytics
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8019:8019"
|
||||
env_file:
|
||||
- .env.production
|
||||
networks:
|
||||
- sinobridge
|
||||
|
||||
networks:
|
||||
sinobridge:
|
||||
external: true
|
||||
Reference in New Issue
Block a user