Spaces:
Sleeping
Sleeping
File size: 1,091 Bytes
c2649ec |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
services:
openwebui:
image: ghcr.io/open-webui/open-webui:main
ports:
- 127.0.0.1:8080:8080
restart: on-failure:3
volumes:
- ./examples/gaia/openwebui-patch/ca81bd47c050_add_config_table.py:/app/backend/open_webui/migrations/versions/ca81bd47c050_add_config_table.py
- ./examples/gaia/GAIA:/app/aworld/examples/gaia/GAIA
environment:
- HF_HUB_OFFLINE=1
- ENABLE_OLLAMA_API=False
- ENABLE_DIRECT_CONNECTIONS=False
- ENABLE_EVALUATION_ARENA_MODELS=False
- ENABLE_TITLE_GENERATION=False
- ENABLE_AUTOCOMPLETE_GENERATION=False
- ENABLE_TAGS_GENERATION=False
- OPENAI_API_BASE_URL=http://gaia_agent:8888/v1
- OPENAI_API_KEY=xxx
deploy:
resources:
limits:
memory: 2G
gaia_agent:
build:
context: .
dockerfile: Dockerfile_gaia
platform: linux/amd64
ports:
- 127.0.0.1:8888:8888
volumes:
- ./.env:/app/aworld/.env
env_file:
- ./.env
restart: on-failure:3
deploy:
resources:
limits:
memory: 4G
|