From 729e83f2a6c463b9d6b7bf153fa3c81d8f2ba470 Mon Sep 17 00:00:00 2001 From: theflyingfool Date: Thu, 4 Jan 2024 20:12:53 -0600 Subject: [PATCH] Add Pi.Alert/compose.yaml Straight Copy Paste from credits --- Pi.Alert/compose.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Pi.Alert/compose.yaml diff --git a/Pi.Alert/compose.yaml b/Pi.Alert/compose.yaml new file mode 100644 index 0000000..193b7f0 --- /dev/null +++ b/Pi.Alert/compose.yaml @@ -0,0 +1,24 @@ +## Credits: +# https://www.wundertech.net/how-to-install-pi-hole-on-portainer/ +version: "3.9" +services: + pi.alert: + container_name: Pi.Alert + healthcheck: + test: curl -f http://localhost:17811/ || exit 1 + mem_limit: 2g + cpu_shares: 768 + security_opt: + - no-new-privileges:true + volumes: + - /volume1/docker/pialert/config:/home/pi/pialert/config:rw + - /volume1/docker/pialert/db:/home/pi/pialert/db:rw + - /volume1/docker/pialert/logs:/home/pi/pialert/front/log:rw + environment: + TZ: Europe/Bucharest + PORT: 17811 + HOST_USER_ID: 1026 + HOST_USER_GID: 100 + network_mode: host + restart: on-failure:5 + image: jokobsk/pi.alert:latest \ No newline at end of file