From 7a7581684236a7e84405f67c2f8d262f90c9b331 Mon Sep 17 00:00:00 2001 From: Kim Brian Ramberg Date: Tue, 7 Oct 2025 13:25:19 +0200 Subject: [PATCH] - --- ntfy/compose.yml | 23 +++++++++++++++++++++++ pihole/compose.yml | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 ntfy/compose.yml diff --git a/ntfy/compose.yml b/ntfy/compose.yml new file mode 100644 index 0000000..8d2d8bb --- /dev/null +++ b/ntfy/compose.yml @@ -0,0 +1,23 @@ +#name: Ntfy messaging server + +services: + ntfy: + image: binwiederhier/ntfy + container_name: ntfy + command: + - serve + environment: + - TZ=Europe/Oslo # optional: set desired timezone + #user: UID:GID # optional: replace with your own user/group or uid/gid + volumes: + - /home/rcadmin/ntfy/cache_ntfy:/var/cache/ntfy + - /home/rcadmin/ntfy/etc_ntfy:/etc/ntfy + ports: + - 80: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 + restart: unless-stopped diff --git a/pihole/compose.yml b/pihole/compose.yml index 18af699..8c3c2ea 100644 --- a/pihole/compose.yml +++ b/pihole/compose.yml @@ -16,7 +16,7 @@ services: #- "67:67/udp" environment: # Set the appropriate timezone for your location (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), e.g: - TZ: 'Europe/London' + TZ: 'Europe/Oslo' # Set a password to access the web interface. Not setting one will result in a random password being assigned FTLCONF_webserver_api_password: 'correct horse battery staple' # Volumes store your data between container upgrades