anything-llm/docker/docker-compose.yml
Preetesh Jain caea4ea1b2
Add support for CPU arch in Docker installation (#48)
* feat: add argument for cpu arch in dockerfile

* feat: add argument for cpu arch in docker compose

* docs: add steps about cpu arch based docker build
2023-06-14 09:29:11 -07:00

32 lines
656 B
YAML

version: '3.9'
networks:
anything-llm:
driver: bridge
# chroma_net:
# external: true
services:
anything-llm:
container_name: anything-llm
image: anything-llm:latest
build:
context: ../.
dockerfile: ./docker/Dockerfile
args:
ARG_UID: ${UID}
ARG_GID: ${GID}
ARCH: ${ARCH:-amd64}
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
# - chroma_net