mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 01:26:11 -08:00
67 lines
4.4 KiB
YAML
Executable File
67 lines
4.4 KiB
YAML
Executable File
version: "3"
|
|
services:
|
|
netalertx:
|
|
privileged: true
|
|
build:
|
|
dockerfile: Dockerfile
|
|
context: .
|
|
cache_from:
|
|
- type=registry,ref=docker.io/jokob-sk/netalertx:buildcache
|
|
container_name: netalertx
|
|
network_mode: host
|
|
# restart: unless-stopped
|
|
volumes:
|
|
# - ${APP_DATA_LOCATION}/netalertx_dev/config:/home/pi/pialert/config
|
|
- ${APP_DATA_LOCATION}/netalertx/config:/home/pi/pialert/config
|
|
# - ${APP_DATA_LOCATION}/netalertx_dev/db:/home/pi/pialert/db
|
|
- ${APP_DATA_LOCATION}/netalertx/db:/home/pi/pialert/db
|
|
# (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
|
|
- ${APP_DATA_LOCATION}/netalertx/dhcp_samples/dhcp1.leases:/mnt/dhcp1.leases
|
|
- ${APP_DATA_LOCATION}/netalertx/dhcp_samples/dhcp2.leases:/mnt/dhcp2.leases
|
|
- ${APP_DATA_LOCATION}/netalertx/dhcp_samples/pihole_dhcp_full.leases:/etc/pihole/dhcp.leases
|
|
- ${APP_DATA_LOCATION}/netalertx/dhcp_samples/pihole_dhcp_2.leases:/etc/pihole/dhcp2.leases
|
|
- ${APP_DATA_LOCATION}/pihole/etc-pihole/pihole-FTL.db:/etc/pihole/pihole-FTL.db
|
|
- ${DEV_LOCATION}/netalertx:/home/pi/pialert/netalertx
|
|
- ${DEV_LOCATION}/dockerfiles:/home/pi/pialert/dockerfiles
|
|
- ${APP_DATA_LOCATION}/netalertx/php.ini:/etc/php/8.2/fpm/php.ini
|
|
- ${DEV_LOCATION}/install:/home/pi/pialert/install
|
|
- ${DEV_LOCATION}/front/css:/home/pi/pialert/front/css
|
|
- ${DEV_LOCATION}/back/update_vendors.sh:/home/pi/pialert/back/update_vendors.sh
|
|
- ${DEV_LOCATION}/front/lib/AdminLTE:/home/pi/pialert/front/lib/AdminLTE
|
|
- ${DEV_LOCATION}/front/js:/home/pi/pialert/front/js
|
|
- ${DEV_LOCATION}/install/start.debian.sh:/home/pi/pialert/install/start.debian.sh
|
|
- ${DEV_LOCATION}/install/user-mapping.debian.sh:/home/pi/pialert/install/user-mapping.debian.sh
|
|
- ${DEV_LOCATION}/install/install.debian.sh:/home/pi/pialert/install/install.debian.sh
|
|
- ${DEV_LOCATION}/install/install_dependencies.debian.sh:/home/pi/pialert/install/install_dependencies.debian.sh
|
|
- ${DEV_LOCATION}/front/api:/home/pi/pialert/front/api
|
|
- ${DEV_LOCATION}/front/php:/home/pi/pialert/front/php
|
|
- ${DEV_LOCATION}/front/deviceDetails.php:/home/pi/pialert/front/deviceDetails.php
|
|
- ${DEV_LOCATION}/front/deviceDetailsTools.php:/home/pi/pialert/front/deviceDetailsTools.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/plugins.php:/home/pi/pialert/front/plugins.php
|
|
- ${DEV_LOCATION}/front/pluginsCore.php:/home/pi/pialert/front/pluginsCore.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
|
|
- ${DEV_LOCATION}/front/systeminfo.php:/home/pi/pialert/front/systeminfo.php
|
|
- ${DEV_LOCATION}/front/report.php:/home/pi/pialert/front/report.php
|
|
- ${DEV_LOCATION}/front/workflows.php:/home/pi/pialert/front/workflows.php
|
|
- ${DEV_LOCATION}/front/appEventsCore.php:/home/pi/pialert/front/appEventsCore.php
|
|
- ${DEV_LOCATION}/front/multiEditCore.php:/home/pi/pialert/front/multiEditCore.php
|
|
- ${DEV_LOCATION}/front/donations.php:/home/pi/pialert/front/donations.php
|
|
- ${DEV_LOCATION}/front/plugins:/home/pi/pialert/front/plugins
|
|
# DELETE END anyone trying to use this file: comment out / delete ABOVE lines, they are only for development purposes
|
|
# ---------------------------------------------------------------------------
|
|
environment:
|
|
- TZ=${TZ}
|
|
- PORT=${PORT}
|
|
# ❗ DANGER ZONE BELOW - Setting ALWAYS_FRESH_INSTALL=true will delete the content of the /db & /config folders
|
|
- ALWAYS_FRESH_INSTALL=${ALWAYS_FRESH_INSTALL}
|