mirror of
https://github.com/whit3rabbit/anyllm-proxy.git
synced 2026-09-21 16:00:49 +00:00
- ci: replace inline smoke test with docker-compose.test.yml + scripts/docker-smoke-test.sh (9 checks) - add .env.example, .env.example.test, .anyllm.env.example, docker-compose.test.yml - gitignore: add .anyllm.env*, *.db-shm, *.db-wal patterns - admin UI: fix auth store, vite config, App.tsx updates; rebuild dist - admin routes: keys, traffic, mod, db, health_check updates - server: gemini_input, mod, routes adjustments - translator: lib.rs, gemini_message_map, tools_map fixes - batch: anthropic_batch cleanup - docs: add React admin UI plan Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
23 lines
779 B
Bash
23 lines
779 B
Bash
# Test / smoke-test environment — no real API key required.
|
|
# Copy to .env before running:
|
|
# cp .env.example.test .env
|
|
# docker compose up -d
|
|
|
|
# Accept any non-empty key (DEV/TEST ONLY — never use in production)
|
|
PROXY_OPEN_RELAY=true
|
|
|
|
# Enable admin UI via docker-entrypoint.sh (translates to --webui flag)
|
|
WEBUI=1
|
|
|
|
# Bind admin server to all interfaces so Docker port mapping reaches it.
|
|
# The host-side 127.0.0.1:3001:3001 binding in compose limits external exposure.
|
|
ADMIN_BIND=0.0.0.0
|
|
|
|
# Persist SQLite database and admin token to the named Docker volume
|
|
ADMIN_DB_PATH=/data/admin.db
|
|
ADMIN_TOKEN_PATH=/data/.admin_token
|
|
# Fixed token for repeatable smoke-test runs. TEST ONLY — never use in production.
|
|
ADMIN_TOKEN=test-admin-token-docker-smoke-0000
|
|
|
|
RUST_LOG=info
|