feat: add admin menu, persistent json config, multi-provider support, and custom model fallback revolver
This commit is contained in:
parent
637a3cf255
commit
1c955619e7
21 changed files with 3742 additions and 388 deletions
|
|
@ -1,10 +1,10 @@
|
|||
services:
|
||||
# Main application
|
||||
geimini-revolver:
|
||||
gemini-revolver:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: geimini-revolver
|
||||
container_name: gemini-revolver
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:3000"
|
||||
|
|
@ -13,13 +13,15 @@ services:
|
|||
- GEMINI_API_KEYS=${GEMINI_API_KEYS}
|
||||
- PORT=3000
|
||||
- LOG_DIR=/app/logs
|
||||
- CONFIG_FILE=/app/data/revolver-config.json
|
||||
- NODE_ENV=production
|
||||
- RATE_LIMIT_DURATION_MS=${RATE_LIMIT_DURATION_MS:-60000}
|
||||
volumes:
|
||||
# Persist logs to host
|
||||
# Persist logs and configuration to host
|
||||
- ./logs:/app/logs
|
||||
- ./data:/app/data
|
||||
networks:
|
||||
- geimini-network
|
||||
- gemini-network
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000/health"]
|
||||
interval: 30s
|
||||
|
|
@ -36,11 +38,11 @@ services:
|
|||
environment:
|
||||
- TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}
|
||||
networks:
|
||||
- geimini-network
|
||||
- gemini-network
|
||||
depends_on:
|
||||
geimini-revolver:
|
||||
gemini-revolver:
|
||||
condition: service_healthy
|
||||
|
||||
networks:
|
||||
geimini-network:
|
||||
gemini-network:
|
||||
driver: bridge
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue