30 Commits

Author SHA1 Message Date
jason 1b70bb322a 🐛 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:34:15 -04:00
jason e6761cb26c 🐛 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:35:08 -04:00
jason 0b35cf1b84 ♻️ Migrate php to /config/ source-of-truth architecture ♻️
Migrate php 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/01-php.sh
rootfs/usr/local/etc/docker/init.d/05-php-fpm.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:47:30 -04:00
jason 9a7a576b5a 🗃️ Updated the functions file 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2026-05-24 12:27:24 -04:00
jason d82ec1443a 🗃️ Removed the .claude/settings.local.json 🗃️
Dockerfile
.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:08:08 -04:00
jason 355e619a66 🗃️ 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/etc/docker/init.d/01-php.sh
rootfs/usr/local/etc/docker/init.d/05-php-fpm.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:12:40 -04:00
jason a4f5dfb1f5 🗃️ readme: rename rootfs/ to volumes/ for compose context 🗃️
Aligns README install/run snippets with the new convention split:
rootfs/ for Dockerfile-build content (image filesystem), volumes/
for docker-compose host bind-mounts. Compose mounts, host bind
paths, and runtime data dirs are renamed; Dockerfile COPY/ADD
sources (where present) are preserved.

README.md
2026-05-05 14:35:42 -04:00
jason d6dff58135 🗃️ Update codebase 🗃️
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-30 16:25:55 -05:00
jason c3c2bbfb94 🔄 Update entrypoint script in docker functions 🔄
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-30 16:05:32 -05:00
jason 1c1c7b7b67 🗃️ 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:37:09 -05:00
jason b99cbb7c82 🐳 Updated Dockerfile* and .env.scripts* 🐳
Dockerfile
Dockerfile.5.6
Dockerfile.7
Dockerfile.7.0
Dockerfile.7.1
Dockerfile.7.2
Dockerfile.7.3
Dockerfile.7.4
Dockerfile.8
Dockerfile.8.0
Dockerfile.8.1
Dockerfile.8.2
Dockerfile.8.3
Dockerfile.8.4
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-29 11:04:45 -05:00
jason f0c20666ac 🗃️ Fixed the .gitignore file 🗃️
.gitignore
2025-11-23 08:48:06 -05:00
jason f0d7f983c3 🗃️ Fixed the .gitignore file 🗃️
.gitignore

Dockerfile
Dockerfile.7
Dockerfile.8
2025-10-31 12:34:15 -04:00
jason 75ab73dbcd 🗃️ Fixed the .gitignore file 🗃️
.gitignore
2025-10-22 13:05:56 -04:00
jason af7905054b 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
rootfs/usr/local/etc/docker/init.d/01-php.sh
rootfs/usr/local/etc/docker/init.d/05-php-fpm.sh
2025-09-20 06:39:44 -04:00
jason 7b94ee70b8 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-09-20 05:27:56 -04:00
jason 7b7db7fbe1 🗃️ Committing everything that changed 🗃️
Dockerfile
Dockerfile.7
Dockerfile.8
.env.scripts
.env.scripts.7
.env.scripts.8
.gitattributes
.gitignore
rootfs/.gitea/
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/default.sample
2025-09-16 19:38:11 -04:00
jason 615eac37c2 🗃️ Committing everything that changed 🗃️
.env.scripts
.env.scripts.7
.env.scripts.8
2025-09-16 10:23:14 -04:00
jason 85467ac6e0 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-09-16 09:10:37 -04:00
jason 4a60d8c033 🗃️ Committing everything that changed 🗃️
Dockerfile
2025-09-05 22:17:34 -04:00
jason 883a788901 🗃️ Committing everything that changed 🗃️
Jenkinsfile
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/
2025-09-05 13:36:29 -04:00
jason 16f338df7d 🗃️ Committing everything that changed 🗃️
.gitea/workflows/docker.yaml
2025-02-04 09:29:38 -05:00
jason b8b024fc22 🗃️ Committing everything that changed 🗃️
.gitea/workflows/docker.yaml
2025-02-04 09:26:37 -05:00
jason 24c83e50ad 🗃️ Committing everything that changed 🗃️
Dockerfile
Dockerfile.7
Dockerfile.8
.env.scripts
.env.scripts.7
.env.scripts.8
rootfs/usr/local/etc/docker/init.d/01-php.sh
rootfs/usr/local/etc/docker/init.d/05-php-fpm.sh
rootfs/usr/local/share/template-files/config/env/default.sample
2025-02-03 15:20:01 -05:00
jason e8c3e67ca1 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-01-10 23:16:55 -05:00
jason a0c3132bee 🗃️ Committing everything that changed 🗃️
.gitea/workflows/docker.7.yaml
.gitea/workflows/docker.8.yaml
.gitea/workflows/docker.yaml
2024-11-19 13:46:09 -05:00
jason 2becf486f2 🗃️ Committing everything that changed 🗃️
.gitea/workflows/docker.7.yaml
.gitea/workflows/docker.8.yaml
.gitea/workflows/docker.yaml
rootfs/root/docker/setup/06-post.sh
tmp/etc/php.ini
tmp/etc/php/php.ini
2024-11-19 13:42:42 -05:00
jason 053270c386 🗃️ Committing everything that changed 🗃️
rootfs/root/docker/setup/05-custom.sh
2024-10-11 13:52:39 -04:00
jason 83b78ec6ca 🗃️ Committing everything that changed 🗃️
Dockerfile
Dockerfile.7
Dockerfile.8
rootfs/root/docker/setup/02-packages.sh
rootfs/root/docker/setup/03-files.sh
rootfs/root/docker/setup/05-custom.sh
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-10-11 13:42:52 -04:00
jason 838729d4c3 🦈🏠🐜 Initial Commit 🐜🦈🏠 2024-10-09 10:53:02 -04:00