apmanageur (latest)

Published 2026-11-27 02:15:16 +01:00 by yoannmultigaming in yoannmultigaming/apmanageur

Installation

docker pull gitea.yoann-nas.fr/yoannmultigaming/apmanageur:latest
sha256:7ba8cadba66ebdf0cb03d8ab80e4e6681fb202080d076c126c49efc11dc96d45

Images

Digest OS / Arch Size
157b96014a linux/amd64 99 MiB
a807ad2e9c linux/arm64 97 MiB

Image Layers ( linux/amd64)

# debian.sh --arch 'amd64' out/ 'trixie' '@1795392000'
ENV DEBIAN_FRONTEND=noninteractive PYTHONUNBUFFERED=1
RUN /bin/sh -c apt-get update && apt full-upgrade -y && apt-get install -y --no-install-recommends ca-certificates apache2 nano python3 python3-cryptography python3-dbus python3-paramiko tzdata network-manager wpasupplicant hostapd dbus iw wireless-tools iproute2 rfkill wireless-regdb dnsmasq-base iptables nftables procps kmod tcpdump wireguard-tools openvpn ebtables curl conntrack rclone && a2enmod proxy proxy_http headers setenvif remoteip rewrite && a2disconf other-vhosts-access-log 2>/dev/null || true && ln -sf /dev/stdout /var/log/apache2/access.log && ln -sf /dev/stderr /var/log/apache2/error.log && rm -rf /var/lib/apt/lists/* # buildkit
WORKDIR /app
COPY ap.py /app/ap.py # buildkit
ARG HTML_FILE=index.html
COPY index.html /app/index.html # buildkit
COPY index.html /var/www/html/index.html # buildkit
COPY setup.html /app/setup.html # buildkit
COPY setup.html /var/www/html/setup.html # buildkit
COPY images/ /app/images/ # buildkit
COPY images/ /var/www/html/images/ # buildkit
COPY lang/ /app/lang/ # buildkit
COPY lang/ /var/www/html/lang/ # buildkit
COPY themes/ /app/themes/ # buildkit
COPY themes/ /var/www/html/themes/ # buildkit
COPY jeux/ /app/jeux/ # buildkit
COPY jeux/ /var/www/html/jeux/ # buildkit
COPY version.json /app/version.json # buildkit
COPY version.json /var/www/html/version.json # buildkit
ARG AP_GIT_COMMIT=b85a7fdcfefcaad4886919630c30c50649825f7f
ARG BUILD_DATE=2026-11-27T01:14:41Z
ENV AP_GIT_COMMIT=b85a7fdcfefcaad4886919630c30c50649825f7f
RUN |3 HTML_FILE=index.html AP_GIT_COMMIT=b85a7fdcfefcaad4886919630c30c50649825f7f BUILD_DATE=2026-11-27T01:14:41Z /bin/sh -c if [ -n "${AP_GIT_COMMIT}" ]; then sed -i "s/\"commit\": *\"[^\"]*\"/\"commit\": \"${AP_GIT_COMMIT}\"/" /app/version.json /var/www/html/version.json 2>/dev/null || true; fi && if [ -n "${BUILD_DATE}" ]; then sed -i "s/\"build_date\": *\"[^\"]*\"/\"build_date\": \"${BUILD_DATE}\"/" /app/version.json /var/www/html/version.json 2>/dev/null || true; fi # buildkit
RUN |3 HTML_FILE=index.html AP_GIT_COMMIT=b85a7fdcfefcaad4886919630c30c50649825f7f BUILD_DATE=2026-11-27T01:14:41Z /bin/sh -c sed -i 's#const API_URL=[^;]*;#const API_URL="";#' /app/index.html /var/www/html/index.html /app/setup.html /var/www/html/setup.html 2>/dev/null || true # buildkit
COPY apache-ap.conf /etc/apache2/sites-available/000-default.conf # buildkit
COPY entrypoint.sh /entrypoint.sh # buildkit
RUN |3 HTML_FILE=index.html AP_GIT_COMMIT=b85a7fdcfefcaad4886919630c30c50649825f7f BUILD_DATE=2026-11-27T01:14:41Z /bin/sh -c chmod +x /entrypoint.sh && rm -f /var/www/html/index.html.orig && sed -i 's/^Listen 80$/Listen ${AP_WEB_PORT}/; s/^\s*Listen 443$/ Listen 1443/' /etc/apache2/ports.conf # buildkit
ENV AP_DB_FILE=/data/ap-dashboard.sqlite3 AP_CONNECTION_FILE=/data/connection AP_UPTIME_FILE=/data/uptime AP_BACKUP_DIR=/data/backups AP_DNS=1.1.1.1,9.9.9.9
VOLUME [/data]
ENV AP_WEB_PORT=1001
EXPOSE [1001/tcp]
ENTRYPOINT ["/entrypoint.sh"]
Details
Container
2026-11-27 02:15:16 +01:00
1540
OCI / Docker
Versions (1) View all
latest 2026-11-27