mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-15 10:50:31 +01:00
882b362213
Added support for host.docker.internal (ie: to use local chromadb server)
31 lines
656 B
YAML
31 lines
656 B
YAML
version: '3.9'
|
|
|
|
networks:
|
|
anything-llm:
|
|
driver: bridge
|
|
|
|
services:
|
|
anything-llm:
|
|
container_name: anything-llm
|
|
image: anything-llm:latest
|
|
platform: linux/amd64
|
|
build:
|
|
context: ../.
|
|
dockerfile: ./docker/Dockerfile
|
|
args:
|
|
ARG_UID: ${UID}
|
|
ARG_GID: ${GID}
|
|
volumes:
|
|
- "../server/storage:/app/server/storage"
|
|
- "../collector/hotdir/:/app/collector/hotdir"
|
|
- "../collector/outputs/:/app/collector/outputs"
|
|
user: "${UID}:${GID}"
|
|
ports:
|
|
- "3001:3001"
|
|
env_file:
|
|
- .env
|
|
networks:
|
|
- anything-llm
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|