diff --git a/src/bifrost-gateway/README.md b/src/bifrost-gateway/README.md new file mode 100644 index 0000000..c9daa92 --- /dev/null +++ b/src/bifrost-gateway/README.md @@ -0,0 +1,3 @@ +# Bifrost Gateway + +Bifrost is a lightweight, high-performance LLM gateway that supports multiple models and providers. diff --git a/src/bifrost-gateway/docker-compose.yaml b/src/bifrost-gateway/docker-compose.yaml new file mode 100644 index 0000000..bf72af5 --- /dev/null +++ b/src/bifrost-gateway/docker-compose.yaml @@ -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: diff --git a/src/open-webui/docker-compose.yml b/src/open-webui/docker-compose.yml index 4413cc8..b31f246 100644 --- a/src/open-webui/docker-compose.yml +++ b/src/open-webui/docker-compose.yml @@ -15,6 +15,8 @@ services: ports: - "${OPEN_WEBUI_PORT:-8080}:8080" volumes: + - *localtime + - *timezone - open-webui:/app/backend/data env_file: - .env