added new "unstructured" docker service to compose stack and introduced new envs
This commit is contained in:
@@ -44,15 +44,27 @@ services:
|
|||||||
- MYSQL_USER=nextcloud
|
- MYSQL_USER=nextcloud
|
||||||
- MYSQL_HOST=db
|
- MYSQL_HOST=db
|
||||||
|
|
||||||
|
unstructured:
|
||||||
|
image: downloads.unstructured.io/unstructured-io/unstructured-api:latest
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 127.0.0.1:8002:8000
|
||||||
|
# Unstructured API runs on port 8000 internally
|
||||||
|
# We expose it on 8002 externally to avoid conflict
|
||||||
|
|
||||||
mcp:
|
mcp:
|
||||||
build: .
|
build: .
|
||||||
command: ["--transport", "streamable-http"]
|
command: ["--transport", "streamable-http"]
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:8000:8000
|
- 127.0.0.1:8000:8000
|
||||||
|
depends_on:
|
||||||
|
- unstructured
|
||||||
environment:
|
environment:
|
||||||
- NEXTCLOUD_HOST=http://app:80
|
- NEXTCLOUD_HOST=http://app:80
|
||||||
- NEXTCLOUD_USERNAME=admin
|
- NEXTCLOUD_USERNAME=admin
|
||||||
- NEXTCLOUD_PASSWORD=admin
|
- NEXTCLOUD_PASSWORD=admin
|
||||||
|
- ENABLE_UNSTRUCTURED_PARSING=true
|
||||||
|
- UNSTRUCTURED_API_URL=http://unstructured:8000
|
||||||
#volumes:
|
#volumes:
|
||||||
#- ./nextcloud_mcp_server:/app/nextcloud_mcp_server:ro
|
#- ./nextcloud_mcp_server:/app/nextcloud_mcp_server:ro
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
NEXTCLOUD_HOST=
|
NEXTCLOUD_HOST=
|
||||||
NEXTCLOUD_USERNAME=
|
NEXTCLOUD_USERNAME=
|
||||||
NEXTCLOUD_PASSWORD=
|
NEXTCLOUD_PASSWORD=
|
||||||
|
|
||||||
|
# Document Parsing Configuration
|
||||||
|
# Enable/disable unstructured parsing for documents (PDF, DOCX, etc.)
|
||||||
|
ENABLE_UNSTRUCTURED_PARSING=true
|
||||||
|
|
||||||
|
# Unstructured API endpoint (default for docker-compose setup)
|
||||||
|
UNSTRUCTURED_API_URL=http://unstructured:8000
|
||||||
|
|||||||
Reference in New Issue
Block a user