Files
umbrel-apps/poznote/docker-compose.yml
T
2026-04-21 09:32:22 +02:00

36 lines
1.0 KiB
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: poznote_app_1
APP_PORT: 80
app:
image: ghcr.io/timothepoznanski/poznote:6.1.1@sha256:cab152f431eda7995444d201619df385017a191bf864f245b85b66a7d414f4a0
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
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.1.1@sha256:2848ebad5deff186864614c336e4d72780a5ee103facc1f7a9cd7cf80327c336
restart: on-failure
environment:
POZNOTE_API_URL: http://poznote_app_1:80/api/v1
POZNOTE_DEBUG: ${POZNOTE_DEBUG:-false}
ports:
- "8340:8045"
volumes:
- "${APP_DATA_DIR}/data:/var/www/html/data:ro"
depends_on:
- app