2023-06-13 20:26:11 +02:00
|
|
|
version: '3.9'
|
|
|
|
|
2023-10-01 00:10:27 +02:00
|
|
|
name: anythingllm
|
|
|
|
|
2023-06-13 20:26:11 +02:00
|
|
|
networks:
|
|
|
|
anything-llm:
|
|
|
|
driver: bridge
|
|
|
|
|
|
|
|
services:
|
|
|
|
anything-llm:
|
|
|
|
container_name: anything-llm
|
|
|
|
image: anything-llm:latest
|
2023-06-16 10:23:32 +02:00
|
|
|
platform: linux/amd64
|
2023-06-13 20:26:11 +02:00
|
|
|
build:
|
|
|
|
context: ../.
|
|
|
|
dockerfile: ./docker/Dockerfile
|
|
|
|
args:
|
2023-11-17 02:15:01 +01:00
|
|
|
ARG_UID: ${UID:-1000}
|
|
|
|
ARG_GID: ${GID:-1000}
|
2023-12-15 00:14:56 +01:00
|
|
|
cap_add:
|
|
|
|
- SYS_ADMIN
|
2023-06-13 20:26:11 +02:00
|
|
|
volumes:
|
2023-11-02 06:12:30 +01:00
|
|
|
- "./.env:/app/server/.env"
|
2023-06-13 20:26:11 +02:00
|
|
|
- "../server/storage:/app/server/storage"
|
|
|
|
- "../collector/hotdir/:/app/collector/hotdir"
|
|
|
|
- "../collector/outputs/:/app/collector/outputs"
|
2023-11-17 02:15:01 +01:00
|
|
|
user: "${UID:-1000}:${GID:-1000}"
|
2023-06-13 20:26:11 +02:00
|
|
|
ports:
|
|
|
|
- "3001:3001"
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
networks:
|
|
|
|
- anything-llm
|
2023-08-17 02:01:50 +02:00
|
|
|
extra_hosts:
|
|
|
|
- "host.docker.internal:host-gateway"
|