APmanageur Wi-Fi V1.0

This commit is contained in:
yoann committed 2026-11-10 01:22:53 +01:00
1 parent bc2232c9fe
commit 2316f57fcd
6 files changed
+10868 -256

No files matched your search

+8 -3
View File
@@ -6,11 +6,15 @@ ENV DEBIAN_FRONTEND=noninteractive \
# Apache2 + NetworkManager embarqué + outils Wi-Fi + Python
RUN apt-get update \
&& apt full-upgrade -y && apt-get install -y --no-install-recommends \
apache2 nano python3 \
apache2 nano python3 tzdata \
network-manager wpasupplicant dbus \
iw iproute2 rfkill wireless-regdb \
dnsmasq-base iptables nftables procps \
dnsmasq-base iptables nftables procps kmod tcpdump \
wireguard-tools openvpn ebtables curl conntrack \
&& a2enmod proxy proxy_http headers \
&& ln -sf /dev/stdout /var/log/apache2/access.log \
&& ln -sf /dev/stderr /var/log/apache2/error.log \
&& ln -sf /dev/stdout /var/log/apache2/other_vhosts_access.log \
&& rm -rf /var/lib/apt/lists/*
# Vos fichiers
@@ -30,7 +34,8 @@ RUN chmod +x /entrypoint.sh && rm -f /var/www/html/index.html.orig \
ENV AP_DB_FILE=/data/ap-dashboard.sqlite3 \
AP_CONNECTION_FILE=/data/connection \
AP_UPTIME_FILE=/data/uptime
AP_UPTIME_FILE=/data/uptime \
AP_DNS="1.1.1.1,9.9.9.9"
VOLUME ["/data", "/etc/NetworkManager/system-connections", "/var/lib/NetworkManager"]
ENV AP_WEB_PORT=1001