PiAlert to NetAlertX

Changes per:
https://github.com/jokob-sk/NetAlertX/blob/main/docs/MIGRATION.md
This commit is contained in:
theflyingfool 2024-04-22 14:38:36 -05:00
parent 0b6ed3f1d6
commit debf24e3b2

View File

@ -2,8 +2,8 @@
# https://www.wundertech.net/how-to-install-pi-hole-on-portainer/ # https://www.wundertech.net/how-to-install-pi-hole-on-portainer/
version: "3.9" version: "3.9"
services: services:
pi.alert: netalertx:
container_name: Pi.Alert container_name: NetAlert.X
# healthcheck: # healthcheck:
# test: curl -f http://localhost:17811/ || exit 1 # test: curl -f http://localhost:17811/ || exit 1
# mem_limit: 2g # mem_limit: 2g
@ -11,9 +11,9 @@ services:
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges:true
volumes: volumes:
- /home/nick/docker/pialert/config:/home/pi/pialert/config:rw - /home/nick/docker/pialert/config:/app/config:rw
- /home/nick/docker/pialert/db:/home/pi/pialert/db:rw - /home/nick/docker/pialert/db:/app/db:rw
- /home/nick/docker/pialert/logs:/home/pi/pialert/front/log:rw - /home/nick/docker/pialert/logs:/app/front/log:rw
environment: environment:
TZ: US/Central TZ: US/Central
PORT: 17811 PORT: 17811
@ -21,4 +21,4 @@ services:
# HOST_USER_GID: 100 # HOST_USER_GID: 100
network_mode: host network_mode: host
# restart: on-failure:5 # restart: on-failure:5
image: jokobsk/pi.alert:latest image: jokobsk/netalertx:latest