Add Ollama and CONTEXT_ROOT config to erp-integration app
This commit is contained in:
32
apps/erp-integration/docker-compose.yml
Normal file
32
apps/erp-integration/docker-compose.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
x-runtipi:
|
||||
schema_version: 2
|
||||
services:
|
||||
erp-integration:
|
||||
image: git.alexzaw.dev/alexz/erp-integration:latest
|
||||
ports:
|
||||
- 8001:8001
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data:/app/backend/data
|
||||
- ${APP_DATA_DIR}/uploads:/app/backend/uploads
|
||||
environment:
|
||||
- TZ=${TZ}
|
||||
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
|
||||
- ANTHROPIC_MODEL=${ANTHROPIC_MODEL}
|
||||
- AGENT_CHAT_ENABLED=${AGENT_CHAT_ENABLED}
|
||||
- CORS_ORIGIN=${CORS_ORIGIN}
|
||||
- NODE_ENV=production
|
||||
- PORT=8001
|
||||
- MCP_API_BASE_URL=${MCP_API_BASE_URL}
|
||||
- SHAREPOINT_BASE_URL=${SHAREPOINT_BASE_URL}
|
||||
- OLLAMA_BASE_URL=${OLLAMA_BASE_URL}
|
||||
- OLLAMA_MODEL=${OLLAMA_MODEL}
|
||||
- OLLAMA_API_KEY=${OLLAMA_API_KEY}
|
||||
- CONTEXT_ROOT=${CONTEXT_ROOT}
|
||||
healthcheck:
|
||||
test: curl --fail http://localhost:8001$${CONTEXT_ROOT}/api/health || exit 1
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
x-runtipi:
|
||||
internal_port: 8001
|
||||
is_main: true
|
||||
Reference in New Issue
Block a user