Files
umbrel-apps/poznote/docker-compose.yml
T
2026-07-10 14:06:40 +10: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.30.4@sha256:abe8cfe22e199950d340ab5a44b4600d165a5ae79754ef0fa31e46407753db4e
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.30.4@sha256:5597f9f86d922054a4d1af686c98cd01e0e0beca18f6473696faafd2a883d859
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