Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions core/src/main/resources/application-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ minio:
bucket-name: opencontext-documents

# Unstructured.io Configuration (Docker)
unstructured:
base-url: http://unstructured-api:8000
app:
unstructured:
api:
url: http://unstructured-api:8000

# Application Configuration
opencontext:
Expand Down
10 changes: 6 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ services:
container_name: unstructured-api
ports:
- "8000:8000"
environment:
- UNSTRUCTURED_MEMORY_FREE_MINIMUM_MB=512
networks:
- opencontext-network
restart: unless-stopped
Expand All @@ -144,8 +146,8 @@ services:
- OLLAMA_BASE_URL=http://ollama:11434
- UNSTRUCTURED_API_URL=http://unstructured-api:8000
- MINIO_URL=http://minio:9000
- MINIO_ACCESS_KEY=${MINIO_ROOT_USER:-your-minio-access-key}
- MINIO_SECRET_KEY=${MINIO_ROOT_PASSWORD:-your-minio-secret-key}
- MINIO_ACCESS_KEY=minioadmin
- MINIO_SECRET_KEY=minioadmin123!

Copilot AI Aug 17, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hardcoding default credentials in Docker Compose poses a security risk. Consider using environment variables or Docker secrets, especially if this configuration might be used in non-development environments.

Suggested change
- MINIO_SECRET_KEY=minioadmin123!
- MINIO_ACCESS_KEY=${MINIO_ACCESS_KEY}
- MINIO_SECRET_KEY=${MINIO_SECRET_KEY}

Copilot uses AI. Check for mistakes.

Copilot AI Aug 17, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hardcoding default credentials in Docker Compose poses a security risk. Consider using environment variables or Docker secrets, especially if this configuration might be used in non-development environments.

Suggested change
- MINIO_SECRET_KEY=minioadmin123!
- MINIO_SECRET_KEY=${MINIO_SECRET_KEY}

Copilot uses AI. Check for mistakes.
depends_on:
postgres:
condition: service_healthy
Expand Down Expand Up @@ -187,13 +189,13 @@ services:
ports:
- "3000:3000"
environment:
- OPENCONTEXT_CORE_URL=http://open-context-mock-server:8001
- OPENCONTEXT_CORE_URL=http://open-context-core:8080
- OPENCONTEXT_DEFAULT_TOP_K=5
- OPENCONTEXT_DEFAULT_MAX_TOKENS=25000
- MCP_SERVER_PORT=3000
- MCP_MODE=http
depends_on:
- open-context-mock-server
- open-context-core
networks:
- opencontext-network
command: ["node", "dist/index.js", "--transport", "http", "--port", "3000"]
Expand Down