mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
added support for custom port, fixed the time zone issue caused by cron
This commit is contained in:
@@ -2,7 +2,7 @@ version: "3"
|
||||
services:
|
||||
pialert:
|
||||
build: .
|
||||
container_name: pialert_dev
|
||||
container_name: pialert
|
||||
network_mode: "host"
|
||||
restart: always
|
||||
volumes:
|
||||
@@ -10,6 +10,7 @@ services:
|
||||
- ${APP_DATA_LOCATION}/pialert/db/pialert.db:/home/pi/pialert/db/pialert.db
|
||||
- ${LOGS_LOCATION}/tmp:/home/pi/pialert/log
|
||||
environment:
|
||||
- TZ=France/Paris
|
||||
- HOST_USER_ID=1036
|
||||
- TZ=Europe/London
|
||||
- PORT=20211
|
||||
- HOST_USER_ID=1000
|
||||
- HOST_USER_GID=1000
|
||||
|
||||
Reference in New Issue
Block a user