mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
75 lines
4.5 KiB
YAML
Executable File
75 lines
4.5 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:/app/config
|
|
- ${APP_DATA_LOCATION}/netalertx/config:/app/config
|
|
# - ${APP_DATA_LOCATION}/netalertx_dev/db:/app/db
|
|
- ${APP_DATA_LOCATION}/netalertx/db:/app/db
|
|
# (optional) useful for debugging if you have issues setting up the container
|
|
# - ${LOGS_LOCATION}:/app/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}/server:/app/server
|
|
- ${DEV_LOCATION}/test:/app/test
|
|
- ${DEV_LOCATION}/dockerfiles:/app/dockerfiles
|
|
# - ${APP_DATA_LOCATION}/netalertx/php.ini:/etc/php/8.2/fpm/php.ini
|
|
- ${DEV_LOCATION}/install:/app/install
|
|
- ${DEV_LOCATION}/front/css:/app/front/css
|
|
- ${DEV_LOCATION}/front/img:/app/front/img
|
|
- ${DEV_LOCATION}/back/update_vendors.sh:/app/back/update_vendors.sh
|
|
- ${DEV_LOCATION}/front/lib:/app/front/lib
|
|
- ${DEV_LOCATION}/front/js:/app/front/js
|
|
- ${DEV_LOCATION}/front/report_templates:/front/report_templates
|
|
- ${DEV_LOCATION}/install/start.debian.sh:/app/install/start.debian.sh
|
|
- ${DEV_LOCATION}/install/user-mapping.debian.sh:/app/install/user-mapping.debian.sh
|
|
- ${DEV_LOCATION}/install/install.debian.sh:/app/install/install.debian.sh
|
|
- ${DEV_LOCATION}/install/install_dependencies.debian.sh:/app/install/install_dependencies.debian.sh
|
|
- ${DEV_LOCATION}/api:/app/api
|
|
- ${DEV_LOCATION}/front/php:/app/front/php
|
|
- ${DEV_LOCATION}/front/deviceDetails.php:/app/front/deviceDetails.php
|
|
- ${DEV_LOCATION}/front/deviceDetailsEdit.php:/app/front/deviceDetailsEdit.php
|
|
- ${DEV_LOCATION}/front/userNotifications.php:/app/front/userNotifications.php
|
|
- ${DEV_LOCATION}/front/deviceDetailsTools.php:/app/front/deviceDetailsTools.php
|
|
- ${DEV_LOCATION}/front/devices.php:/app/front/devices.php
|
|
- ${DEV_LOCATION}/front/events.php:/app/front/events.php
|
|
- ${DEV_LOCATION}/front/plugins.php:/app/front/plugins.php
|
|
- ${DEV_LOCATION}/front/pluginsCore.php:/app/front/pluginsCore.php
|
|
- ${DEV_LOCATION}/front/help_faq.php:/app/front/help_faq.php
|
|
- ${DEV_LOCATION}/front/index.php:/app/front/index.php
|
|
- ${DEV_LOCATION}/front/maintenance.php:/app/front/maintenance.php
|
|
- ${DEV_LOCATION}/front/network.php:/app/front/network.php
|
|
- ${DEV_LOCATION}/front/presence.php:/app/front/presence.php
|
|
- ${DEV_LOCATION}/front/settings.php:/app/front/settings.php
|
|
- ${DEV_LOCATION}/front/systeminfo.php:/app/front/systeminfo.php
|
|
- ${DEV_LOCATION}/front/account.php:/app/front/account.php
|
|
- ${DEV_LOCATION}/front/report.php:/app/front/report.php
|
|
- ${DEV_LOCATION}/front/workflows.php:/app/front/workflows.php
|
|
- ${DEV_LOCATION}/front/appEventsCore.php:/app/front/appEventsCore.php
|
|
- ${DEV_LOCATION}/front/multiEditCore.php:/app/front/multiEditCore.php
|
|
- ${DEV_LOCATION}/front/donations.php:/app/front/donations.php
|
|
- ${DEV_LOCATION}/front/plugins:/app/front/plugins
|
|
# DELETE END anyone trying to use this file: comment out / delete ABOVE lines, they are only for development purposes
|
|
# ---------------------------------------------------------------------------
|
|
environment:
|
|
# - APP_CONF_OVERRIDE={"SCAN_SUBNETS":"['192.168.1.0/24 --interface=eth1']","UI_theme":"Dark"}
|
|
- 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}
|
|
|