1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-04-01 22:46:39 +08:00
1Panel-Appstore/apps/trilium-cn/latest/docker-compose.yml
pooneyy 7ff35caf28
🔧 chore(apps): set the pull policy for all services using fixed tag images
- add `pull_policy: always` to all service definitions across all docker-compose files
- ensure consistent image update behavior for all applications
- maintain existing network configurations and external network settings
- preserve all other service configurations and environment variables
2025-11-10 16:10:24 +08:00

27 lines
703 B
YAML

services:
trilium-cn:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8080"
volumes:
- "${DATA_PATH}:/root/trilium-data"
environment:
- TRILIUM_DATA_DIR=/root/trilium-data
# 可选功能: 健康检查。需要启用的话,把下面的注释去掉
#healthcheck:
# test: ["CMD-SHELL", "curl --fail http://localhost:8080/api/health-check | jq -e '.status == "ok"' || exit 1"]
# interval: 30s
# timeout: 10s
# retries: 3
image: nriver/trilium-cn:latest
pull_policy: always
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true