mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
40 lines
2.3 KiB
YAML
Executable File
40 lines
2.3 KiB
YAML
Executable File
version: "3"
|
|
services:
|
|
pialert:
|
|
build: .
|
|
container_name: pialert
|
|
network_mode: "host"
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ${APP_DATA_LOCATION}/pialert/config2:/home/pi/pialert/config
|
|
# - ${APP_DATA_LOCATION}/pialert/db/pialert.db:/home/pi/pialert/db/pialert.db
|
|
- ${APP_DATA_LOCATION}/pialert/db2:/home/pi/pialert/db
|
|
# (optional) map an empty file with the name 'setting_darkmode' if you want to force the dark mode on container rebuilt
|
|
- ${APP_DATA_LOCATION}/pialert/db/setting_darkmode:/home/pi/pialert/db/setting_darkmode
|
|
# (optional) useful for debugging if you have issues setting up the container
|
|
- ${LOGS_LOCATION}:/home/pi/pialert/front/log
|
|
# DELETE START anyone trying to use this file: comment out / delete BELOW lines, they are only for development purposes
|
|
- ${DEV_LOCATION}/back/pialert.py:/home/pi/pialert/back/pialert.py
|
|
- ${DEV_LOCATION}/back/update_vendors.sh:/home/pi/pialert/back/update_vendors.sh
|
|
- ${DEV_LOCATION}/pholus:/home/pi/pialert/pholus
|
|
- ${DEV_LOCATION}/dockerfiles:/home/pi/pialert/dockerfiles
|
|
- ${APP_DATA_LOCATION}/pialert/php.ini:/etc/php/7.4/fpm/php.ini
|
|
- ${DEV_LOCATION}/front/css:/home/pi/pialert/front/css
|
|
- ${DEV_LOCATION}/front/js:/home/pi/pialert/front/js
|
|
- ${DEV_LOCATION}/front/php:/home/pi/pialert/front/php
|
|
- ${DEV_LOCATION}/front/deviceDetails.php:/home/pi/pialert/front/deviceDetails.php
|
|
- ${DEV_LOCATION}/front/devices.php:/home/pi/pialert/front/devices.php
|
|
- ${DEV_LOCATION}/front/events.php:/home/pi/pialert/front/events.php
|
|
- ${DEV_LOCATION}/front/help_faq.php:/home/pi/pialert/front/help_faq.php
|
|
- ${DEV_LOCATION}/front/index.php:/home/pi/pialert/front/index.php
|
|
- ${DEV_LOCATION}/front/maintenance.php:/home/pi/pialert/front/maintenance.php
|
|
- ${DEV_LOCATION}/front/network.php:/home/pi/pialert/front/network.php
|
|
- ${DEV_LOCATION}/front/presence.php:/home/pi/pialert/front/presence.php
|
|
- ${DEV_LOCATION}/front/settings.php:/home/pi/pialert/front/settings.php
|
|
# DELETE END anyone trying to use this file: comment out / delete ABOVE lines, they are only for development purposes
|
|
environment:
|
|
- TZ=${TZ}
|
|
- PORT=${PORT}
|
|
- HOST_USER_ID=${HOST_USER_ID}
|
|
- HOST_USER_GID=${HOST_USER_GID}
|