feat: add bifrost-gateway
This commit is contained in:
3
src/bifrost-gateway/README.md
Normal file
3
src/bifrost-gateway/README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Bifrost Gateway
|
||||||
|
|
||||||
|
Bifrost is a lightweight, high-performance LLM gateway that supports multiple models and providers.
|
||||||
29
src/bifrost-gateway/docker-compose.yaml
Normal file
29
src/bifrost-gateway/docker-compose.yaml
Normal 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:
|
||||||
@@ -15,6 +15,8 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "${OPEN_WEBUI_PORT:-8080}:8080"
|
- "${OPEN_WEBUI_PORT:-8080}:8080"
|
||||||
volumes:
|
volumes:
|
||||||
|
- *localtime
|
||||||
|
- *timezone
|
||||||
- open-webui:/app/backend/data
|
- open-webui:/app/backend/data
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
|||||||
Reference in New Issue
Block a user