58 Commits

Author SHA1 Message Date
jason 51bd7d4513 🐛 Fix resolv.conf: add search . and ndots:0 to block domain search 🐛
--domainname on the container sets the kernel domainname, which c-ares
uses to infer a search domain even when /etc/resolv.conf has no search
line. This caused c-ares to query github.com.casjay.work AAAA and get
the host's own IPv6 address, routing all outbound HTTPS to the local
nginx instead of the real server.
Adding 'search .' and 'options ndots:0' explicitly disables search
domain inference regardless of the kernel domainname setting.
- rootfs/usr/local/etc/resolv.conf: add search . and options ndots:0

rootfs/usr/local/etc/resolv.conf
2026-06-05 14:33:08 -04:00
jason f81235758d 🐛 Fix container DNS: ship resolv.conf without search domain 🐛
Hosts with a search domain cause containers to inherit it. When the
zone has a wildcard AAAA record, public hostnames resolve to the host's
own IPv6 address instead of the real server, breaking all outbound
HTTPS and DNS from inside the container.
The entrypoint already has a hook: if /usr/local/etc/resolv.conf
exists it replaces /etc/resolv.conf at container startup. Ship a
clean resolv.conf with Cloudflare + Google DNS and no search domain
so container DNS is always correct regardless of host configuration.
- rootfs/usr/local/etc/resolv.conf: new file — clean DNS, no search domain

rootfs/usr/local/etc/resolv.conf
2026-06-05 12:34:00 -04:00
jason ed86041b53 ♻️ Migrate ifconfig to /config/ source-of-truth architecture ♻️
Migrate ifconfig Docker image to the new build-time config architecture.
- rootfs/root/docker/setup/03-files.sh: rewrite to canonical form with /tmp/bin, /tmp/var, /tmp/etc, /tmp/usr handlers; remove template-files copy block
- rootfs/usr/local/etc/docker/functions/entrypoint.sh: update to latest template with __init_service_conf, __find_php_ini, __find_php_bin helpers
- rootfs/usr/local/etc/docker/init.d/*.sh: fix $(basename) UUOC → ${var##*/}; move inline comments above code lines; remove commented-out dead code
- rootfs/usr/local/share/template-files/: delete entire directory; config files now deployed via /tmp/etc/ at build time

rootfs/root/docker/setup/03-files.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
rootfs/usr/local/etc/docker/init.d/zz-echoip.sh
rootfs/usr/local/share/template-files/config/env/default.sample
rootfs/usr/local/share/template-files/config/env/examples/00-directory.sh
rootfs/usr/local/share/template-files/config/env/examples/addresses.sh
rootfs/usr/local/share/template-files/config/env/examples/certbot.sh
rootfs/usr/local/share/template-files/config/env/examples/couchdb.sh
rootfs/usr/local/share/template-files/config/env/examples/dockerd.sh
rootfs/usr/local/share/template-files/config/env/examples/global.sh
rootfs/usr/local/share/template-files/config/env/examples/healthcheck.sh
rootfs/usr/local/share/template-files/config/env/examples/mariadb.sh
rootfs/usr/local/share/template-files/config/env/examples/mongodb.sh
rootfs/usr/local/share/template-files/config/env/examples/networking.sh
rootfs/usr/local/share/template-files/config/env/examples/other.sh
rootfs/usr/local/share/template-files/config/env/examples/php.sh
rootfs/usr/local/share/template-files/config/env/examples/postgres.sh
rootfs/usr/local/share/template-files/config/env/examples/redis.sh
rootfs/usr/local/share/template-files/config/env/examples/services.sh
rootfs/usr/local/share/template-files/config/env/examples/ssl.sh
rootfs/usr/local/share/template-files/config/env/examples/supabase.sh
rootfs/usr/local/share/template-files/config/env/examples/webservers.sh
rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh
rootfs/usr/local/share/template-files/config/.gitkeep
rootfs/usr/local/share/template-files/data/.gitkeep
rootfs/usr/local/share/template-files/defaults/.gitkeep
2026-06-04 14:42:55 -04:00
jason 76ed75df0b 🗃️ Updated the functions file 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2026-05-24 12:26:54 -04:00
jason d2da6f2c15 🗃️ Removed the .claude/settings.local.json 🗃️
Dockerfile
.dockerignore
.env.scripts
.gitattributes
.gitea/workflows/docker.yaml
.gitignore
LICENSE.md
README.md
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/bin/pkmgr
2026-05-12 20:06:51 -04:00
jason a4fdd3a904 🗃️ rootfs: shield internal entrypoint PID files from /run/*.pid sweeps 🗃️
Update the embedded entrypoint copies in rootfs/ to match the
upstream template change. Internal state files renamed to dotfiles
so they're not matched by `/run/*.pid` cleanup globs:
- /run/init.d/entrypoint.pid -> /run/.entrypoint.pid
- /run/no_exit.pid -> /run/.no_exit.pid
- /run/backup.pid -> /run/.backup.pid
- /run/__start_init_scripts.pid -> /run/.start_init_scripts.pid
Per-service PIDs in /run/init.d/ are unchanged.

rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
rootfs/usr/local/share/template-files/config/env/default.sample
rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh
2026-05-05 19:11:54 -04:00
jason 3198b23678 🗃️ Update codebase 🗃️
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-30 16:25:36 -05:00
jason 0459ca80c8 🎉 Refactor entrypoint.sh script 📝
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-30 16:02:44 -05:00
jason cd9ba090d4 🗃️ Fixed the entrypoint scripts 🗃️
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
rootfs/usr/local/share/template-files/config/env/default.sample
2025-11-29 12:36:50 -05:00
jason 3bafe97e6a 🗃️ Updated Dockerfile* and .env.scripts* 🗃️
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-29 11:04:24 -05:00
jason f536bc7bb0 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
rootfs/usr/local/etc/docker/init.d/zz-echoip.sh
2025-09-20 06:39:19 -04:00
jason c999aee8e4 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-09-20 05:27:33 -04:00
jason 907b9775cf 🗃️ Committing everything that changed 🗃️
Dockerfile
.env.scripts
.gitattributes
.gitignore
rootfs/.gitea/
rootfs/root/
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/bin/pkmgr
rootfs/usr/local/etc/docker/functions/entrypoint.sh
rootfs/usr/local/share/template-files/config/env/
2025-09-16 19:37:28 -04:00
jason a5f3e30291 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-09-16 09:09:57 -04:00
jason 1e72449fbf 🗃️ Committing everything that changed 🗃️
Jenkinsfile
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/
2025-09-05 13:35:50 -04:00
jason cb8b97ae4d 🗃️ Committing everything that changed 🗃️
Dockerfile
rootfs/opt/echoip/html/index.html
rootfs/usr/local/etc/docker/bin/echoip-cli
rootfs/usr/local/etc/docker/init.d/zz-echoip.sh
2025-06-11 12:40:34 -04:00
jason 748e52ad9b 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-echoip.sh
2025-06-11 11:12:54 -04:00
jason fef504066e 🗃️ Committing everything that changed 🗃️
rootfs/opt/echoip/html/index.html
rootfs/usr/local/etc/docker/init.d/zz-echoip.sh
2025-06-11 11:01:15 -04:00
jason f35189b635 Update zz-echoip.sh 2025-06-10 23:42:56 -04:00
jason ebf4b77628 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-echoip.sh
2025-02-03 15:19:40 -05:00
jason b4bb9d7bec 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-01-10 23:16:26 -05:00
jason 416c73f207 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-09-24 11:03:29 -04:00
jason d6c5ee835b 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-08-01 16:36:48 -04:00
jason 268c29470e 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-08-01 15:38:08 -04:00
jason fb097c84bf 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-08-01 15:04:00 -04:00
jason 09b2aaef3e 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-08-01 14:54:14 -04:00
jason 24be28c042 🗃️ Fixed: rootfs/usr/local/etc/docker/functions/entrypoint.sh 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-07-31 12:28:31 -04:00
jason 220d120253 🗃️ Fixed: rootfs/usr/local/etc/docker/functions/entrypoint.sh 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-07-29 18:23:44 -04:00
jason 5af7aeafd3 🗃️ Fixed: rootfs/usr/local/etc/docker/functions/entrypoint.sh 🗃️
Dockerfile
.gitea/
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-07-29 17:56:10 -04:00
jason de8b4f468b 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-07-14 20:05:42 -04:00
jason 3093f3e2fb 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-07-14 18:45:53 -04:00
jason da633425bf 🗃 Modified: rootfs/usr/local/etc/docker/functions/entrypoint.sh 🗃
Modified: rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-07-14 10:44:53 -04:00
jason 2b2322d6a6 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/bin/echoip
rootfs/usr/local/etc/docker/bin/
rootfs/usr/local/etc/docker/init.d/zz-echoip.sh
2024-07-07 14:38:30 -04:00
jason 5fd252c017 🗃️ Committing everything that changed 🗃️
Dockerfile
rootfs/usr/local/bin/echoip
rootfs/usr/local/etc/docker/init.d/zz-echoip.sh
2024-07-07 14:32:31 -04:00
jason 1473ad4f61 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-echoip.sh
2024-07-07 14:23:42 -04:00
jason e3b82fce0d 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-echoip.sh
2024-07-07 14:16:03 -04:00
jason fae1f72c3b 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-echoip.sh
rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh
2024-07-07 14:09:45 -04:00
jason 7325692809 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh
2024-07-07 14:07:33 -04:00
jason 3035168262 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh
2024-07-07 13:50:56 -04:00
jason 86eb9e6d8c 🗃️ Committing everything that changed 🗃️
Dockerfile
rootfs/opt/echoip/geoip/GeoLite2-ASN.mmdb
rootfs/opt/echoip/geoip/GeoLite2-City.mmdb
rootfs/opt/echoip/geoip/GeoLite2-Country.mmdb
rootfs/tmp/update-geoip-db.sh
rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh
2024-07-07 13:34:14 -04:00
jason ba0e61f764 🗃️ Committing everything that changed 🗃️
Dockerfile
rootfs/tmp/init.sh
rootfs/tmp/update-geoip-db.sh
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh
2024-07-07 12:46:36 -04:00
jason f801c674e0 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh
2024-07-07 12:38:59 -04:00
jason 99d0be1fc7 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh
2024-07-07 12:33:03 -04:00
jason 2129197bcf 🗃️ Committing everything that changed 🗃️
Dockerfile
rootfs/tmp/
rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh
2024-07-07 12:13:47 -04:00
jason 861dde82fe 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh
2024-07-07 11:39:34 -04:00
jason 4610f1f64f 🗃️ Committing everything that changed 🗃️
Dockerfile
rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh
2024-07-07 11:07:50 -04:00
jason 2fd2ab3e82 🗃️ Update config 🗃️
rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh
2024-05-03 10:22:35 -04:00
jason 86a6d486b4 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh
2023-09-11 12:48:10 -04:00
jason 44a3d1fadc 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh
2023-09-11 12:31:20 -04:00
jason 2f4cc8a29d 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh
2023-09-11 12:16:48 -04:00