|
|
@@ -35,6 +35,21 @@ services:
|
|
|
# - "322:322" # Virtual printer RTSP camera (X1/H2/P2; proxy mode + non-proxy modes with a target printer)
|
|
|
# - "2024-2026:2024-2026" # Virtual printer proprietary ports (A1/P1S)
|
|
|
# - "50000-51000:50000-51000" # Virtual printer FTP passive data (widened from 50000-50100 for multi-VP headroom)
|
|
|
+ #
|
|
|
+ # ⚠️ Bridge-mode + Docker's default userland proxy: the 1001-port FTP
|
|
|
+ # passive range spawns ~2000 docker-proxy host processes (IPv4+IPv6
|
|
|
+ # × 1001 ports), each pinning ~3.5 MB of host RAM, for a ~3.5 GB
|
|
|
+ # footprint that doesn't show up in `docker stats` because it's
|
|
|
+ # host-level, not container-level (#1646). Linux's host-mode default
|
|
|
+ # above sidesteps this entirely. If you genuinely need bridge mode
|
|
|
+ # (e.g. Docker Desktop on macOS/Windows), set
|
|
|
+ # { "userland-proxy": false }
|
|
|
+ # in /etc/docker/daemon.json and restart Docker. Confirmed to clear
|
|
|
+ # the issue by the reporter; the kernel does NAT directly via
|
|
|
+ # iptables/nftables, no per-port host process needed. Only side-
|
|
|
+ # effect is that connections originating from 127.0.0.1 on the host
|
|
|
+ # itself can't reach the container — fine for nearly every
|
|
|
+ # Bambuddy install.
|
|
|
volumes:
|
|
|
- bambuddy_data:/app/data
|
|
|
- bambuddy_logs:/app/logs
|