Last active 1685788063

Pi.Alert Docker Compose

gistfile1.txt Raw
1version: "3.9"
2services:
3 pi.alert:
4 container_name: Pi.Alert
5 healthcheck:
6 test: curl -f http://localhost:17811/ || exit 1
7 mem_limit: 2g
8 cpu_shares: 768
9 security_opt:
10 - no-new-privileges:true
11 volumes:
12 - /volume1/docker/pialert/config:/home/pi/pialert/config:rw
13 - /volume1/docker/pialert/db:/home/pi/pialert/db:rw
14 - /volume1/docker/pialert/logs:/home/pi/pialert/front/log:rw
15 environment:
16 TZ: Europe/Bucharest
17 PORT: 17811
18 HOST_USER_ID: 1026
19 HOST_USER_GID: 100
20 network_mode: host
21 restart: on-failure:5
22 image: jokobsk/pi.alert:latest