diff --git a/anythingllm/docker/.env.example b/anythingllm/docker/.env.example new file mode 100644 index 0000000..7058475 --- /dev/null +++ b/anythingllm/docker/.env.example @@ -0,0 +1,15 @@ +# --- General Settings --- +SERVER_PORT=3001 + +# --- Storage & Persistence --- +STORAGE_DIR=/app/server/storage + +# --- LLM Provider (Sanitized) --- +LLM_PROVIDER=openai +OPENAI_API_KEY=sk-placeholder-replace-me + +# --- Vector DB --- +VECTOR_DB=lancedb + +# --- Security --- +JWT_SECRET=replace-with-secure-random-string \ No newline at end of file diff --git a/anythingllm/docker/README.md b/anythingllm/docker/README.md new file mode 100644 index 0000000..1e48a8f --- /dev/null +++ b/anythingllm/docker/README.md @@ -0,0 +1,27 @@ +# AnythingLLM Deployment: ethdenver-ccc-bot + +### Overview +This instance of AnythingLLM is deployed as a Docker container on a DigitalOcean Droplet in the **ATL1** region. + +### Deployment Specifications +- **Image:** `mintplexlabs/anythingllm` +- **Container Name:** `anythingllm_ethdenver` +- **Host Path:** `/root/ethdenver_storage` +- **External Port:** 3001 + +### Persistence & Data +All application state (Vector DB, Chat Logs, Documents) is stored on the host at: +`/root/ethdenver_storage` + +### How to Update/Redeploy +To pull the latest image and restart the container: +```bash +docker stop anythingllm_ethdenver +docker rm anythingllm_ethdenver +docker pull mintplexlabs/anythingllm +docker run -d -p 3001:3001 \ + --name anythingllm_ethdenver \ + -v /root/ethdenver_storage:/app/server/storage \ + -v /root/ethdenver_storage/.env:/app/server/.env \ + --restart always \ + mintplexlabs/anythingllm \ No newline at end of file diff --git a/anythingllm/docker/docker-compose.yml b/anythingllm/docker/docker-compose.yml new file mode 100644 index 0000000..9f82d2d --- /dev/null +++ b/anythingllm/docker/docker-compose.yml @@ -0,0 +1,14 @@ +services: + anythingllm: + image: mintplexlabs/anythingllm:latest + container_name: anythingllm_ethdenver + ports: + - "3001:3001" + volumes: + # Maps the host storage to the container's internal storage + - /root/ethdenver_storage:/app/server/storage + # Maps the local .env file into the container + - /root/ethdenver_storage/.env:/app/server/.env + restart: always + environment: + - NODE_ENV=production \ No newline at end of file