feat: add bifrost-gateway

This commit is contained in:
Sun-ZhenXing
2025-09-23 13:35:10 +08:00
parent 5beb488b6f
commit 9ded05d5ef
3 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
# Bifrost Gateway
Bifrost is a lightweight, high-performance LLM gateway that supports multiple models and providers.

View File

@@ -0,0 +1,29 @@
x-default: &default
restart: unless-stopped
volumes:
- &localtime /etc/localtime:/etc/localtime:ro
- &timezone /etc/timezone:/etc/timezone:ro
logging:
driver: json-file
options:
max-size: 100m
services:
bifrost:
<<: *default
image: maximhq/bifrost:${BIFROST_VERSION:-v1.2.15}
volumes:
- bifrost_data:/app/data
ports:
- "${BIFROST_PORT:-28080}:8080"
deploy:
resources:
limits:
cpus: '0.50'
memory: 512M
reservations:
cpus: '0.10'
memory: 128M
volumes:
bifrost_data:

View File

@@ -15,6 +15,8 @@ services:
ports:
- "${OPEN_WEBUI_PORT:-8080}:8080"
volumes:
- *localtime
- *timezone
- open-webui:/app/backend/data
env_file:
- .env