feat: added template + linting

This commit is contained in:
sujiba 2024-05-05 14:00:09 +02:00
parent e487af8136
commit dc5a9d3653
17 changed files with 79 additions and 53 deletions

View file

@ -1,7 +1,7 @@
---
services:
# https://docs.ntfy.sh/install/#docker
ntfy:
# https://docs.ntfy.sh/install/#docker
image: binwiederhier/ntfy
container_name: ntfy
command:
@ -15,9 +15,9 @@ services:
ports:
- "127.0.0.1:11080:80"
healthcheck: # optional: remember to adapt the host:port to your environment
test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
interval: 60s
timeout: 10s
retries: 3
start_period: 40s
test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
interval: 60s
timeout: 10s
retries: 3
start_period: 40s
restart: unless-stopped