1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-18 22:41:04 +08:00
1Panel-Appstore/apps/ntfy/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

31 lines
749 B
YAML

services:
ntfy:
image: "binwiederhier/ntfy:latest"
pull_policy: always
container_name: ${CONTAINER_NAME}
command:
- serve
environment:
- TZ=${TIME_ZONE}
user: ${PUID}:${PGID}
volumes:
- ./data/cache/ntfy:/var/cache/ntfy
- ./data/ntfy:/etc/ntfy
ports:
- "${PANEL_APP_PORT_HTTP}:${APP_PORT_INTERNAL}"
restart: always
networks:
- 1panel-network
healthcheck:
test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:${APP_PORT_INTERNAL}/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
interval: 60s
timeout: 10s
retries: 3
start_period: 40s
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true