gistfile1.txt
· 633 B · Text
Sin formato
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
| 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 |