theflyingfool
debf24e3b2
Changes per: https://github.com/jokob-sk/NetAlertX/blob/main/docs/MIGRATION.md
24 lines
686 B
YAML
24 lines
686 B
YAML
## Credits:
|
|
# https://www.wundertech.net/how-to-install-pi-hole-on-portainer/
|
|
version: "3.9"
|
|
services:
|
|
netalertx:
|
|
container_name: NetAlert.X
|
|
# healthcheck:
|
|
# test: curl -f http://localhost:17811/ || exit 1
|
|
# mem_limit: 2g
|
|
# cpu_shares: 768
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
volumes:
|
|
- /home/nick/docker/pialert/config:/app/config:rw
|
|
- /home/nick/docker/pialert/db:/app/db:rw
|
|
- /home/nick/docker/pialert/logs:/app/front/log:rw
|
|
environment:
|
|
TZ: US/Central
|
|
PORT: 17811
|
|
# HOST_USER_ID: 1026
|
|
# HOST_USER_GID: 100
|
|
network_mode: host
|
|
# restart: on-failure:5
|
|
image: jokobsk/netalertx:latest |