mirror of
https://github.com/pooneyy/1Panel-Appstore.git
synced 2026-03-22 18:49:40 +08:00
* chore(deps): update binwiederhier/ntfy docker tag to v2.12.0 * Update app version [skip ci] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
29 lines
735 B
YAML
29 lines
735 B
YAML
services:
|
|
ntfy:
|
|
image: "binwiederhier/ntfy:v2.12.0"
|
|
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
|