mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-26 23:50:08 +03:00
Co-authored-by: Kai Chappel <kaichappel@users.noreply.github.com>
36 lines
1.0 KiB
YAML
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.73.2@sha256:d43a204e0ff093f4f6c4c4c79084e16039f4bc68d9b6c3ce42d0017dee2f5be4
|
|
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.73.2@sha256:a65e9d0763f1b4a0fd2c55e7b30993365f0eb1de3a0b0063477b401a8c12f846
|
|
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
|