最后活跃于 1685788063

Pi.Alert Docker Compose

Bob 修订了这个 Gist 1685788063. 转到此修订

1 file changed, 22 insertions

gistfile1.txt(文件已创建)

@@ -0,0 +1,22 @@
1 + version: "3.9"
2 + services:
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
上一页 下一页