mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-27 16:08:47 +03:00
39 lines
1.3 KiB
YAML
39 lines
1.3 KiB
YAML
version: "3.7"
|
|
|
|
services:
|
|
app_proxy:
|
|
environment:
|
|
APP_HOST: poznote_app_1
|
|
APP_PORT: 80
|
|
|
|
app:
|
|
image: ghcr.io/timothepoznanski/poznote:6.131.1@sha256:9da231a03ff78e1bc6a392b9020aefc190e18fe501153edf56b66bf76a1fa5b9
|
|
restart: on-failure
|
|
environment:
|
|
SQLITE_DATABASE: /var/www/html/data/database/poznote.db
|
|
HTTP_WEB_PORT: 80
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data:/var/www/html/data
|
|
- ${APP_DATA_DIR}/umbrel-mcp.php:/var/www/html/public/umbrel-mcp.php:ro
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--quiet", "--tries=1", "--timeout=5", "-O", "/dev/null", "http://127.0.0.1/api/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 10s
|
|
|
|
mcp:
|
|
image: ghcr.io/timothepoznanski/poznote-mcp:6.131.1@sha256:6f8bb6a7cf847a6503c5b4a763c40e163584755dd2ffd4ba3bb4a27051669f6c
|
|
restart: on-failure
|
|
environment:
|
|
POZNOTE_API_URL: http://poznote_app_1:80/api/v1
|
|
POZNOTE_DEBUG: ${POZNOTE_DEBUG:-false}
|
|
POZNOTE_MCP_AUTH_TOKEN: ${APP_POZNOTE_MCP_AUTH_TOKEN:?MCP authentication token is required}
|
|
ports:
|
|
# External MCP clients need LAN access; authentication uses the required bearer token.
|
|
- "8340:8045"
|
|
volumes:
|
|
- "${APP_DATA_DIR}/data:/var/www/html/data:ro"
|
|
depends_on:
|
|
- app
|