Commit Graph

41 Commits

Author SHA1 Message Date
jason f2a1951ead 🐛 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:37 -04:00
jason 97cf3eed24 🐛 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:29 -04:00
jason a31fee9887 ♻️ Migrate python to /config/ source-of-truth architecture ♻️
Migrate python 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/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:58 -04:00
jason 000ff752bf 🗃️ Updated the functions file 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2026-05-24 12:27:33 -04:00
jason e938d4d41d 🗃️ 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:47 -04:00
jason 77ce7f9966 🗃️ 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:12:52 -04:00
jason 82939bfc42 🗃️ 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:55 -04:00
jason 9bd827ba4e 🗃️ Update codebase 🗃️
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-30 16:26:02 -05:00
jason c842b61c2d 🐳 Enhancement: docker entrypoint script adjustments 🐳
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-30 16:06:30 -05:00
jason 1a98d241dc 🗃️ 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:16 -05:00
jason cfc8bc84f5 🗃️ Updated Dockerfile* and .env.scripts* 🗃️
Dockerfile
Dockerfile.2
Dockerfile.3
Dockerfile.3.10
Dockerfile.3.11
Dockerfile.3.12
Dockerfile.3.13
Dockerfile.3.9
.gitea/workflows/docker-3_10.yaml
.gitea/workflows/docker-3_11.yaml
.gitea/workflows/docker-3_12.yaml
.gitea/workflows/docker-3_13.yaml
.gitea/workflows/docker-3_9.yaml
.gitea/workflows/docker.3.yaml
.gitea/workflows/docker.yaml
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-29 11:04:52 -05:00
jason d0fb893bbf 🗃️ Fixed the .gitignore file 🗃️
.gitignore
2025-11-23 08:48:13 -05:00
jason 976ea9c6c8 🗃️ Fixed the .gitignore file 🗃️
.gitignore

Dockerfile
Dockerfile.2
Dockerfile.3
2025-10-31 12:34:22 -04:00
jason 408e979bc3 🗃️ Fixed the .gitignore file 🗃️
.gitignore
2025-10-22 13:06:03 -04:00
jason 55f893d392 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-09-20 06:39:51 -04:00
jason 5ed9a7c689 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-09-20 05:28:03 -04:00
jason c43a1f22cd 🗃️ Committing everything that changed 🗃️
Dockerfile
Dockerfile.2
Dockerfile.3
.env.scripts
.env.scripts.2
.env.scripts.3
.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:25 -04:00
jason 2738008887 🗃️ Committing everything that changed 🗃️
.env.scripts
.env.scripts.2
.env.scripts.3
2025-09-16 10:23:26 -04:00
jason 6582661870 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-09-16 09:10:49 -04:00
jason 3bfc830e00 🗃️ Committing everything that changed 🗃️
Dockerfile
2025-09-05 22:18:02 -04:00
jason f6d81451ab 🗃️ Committing everything that changed 🗃️
Jenkinsfile
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/
2025-09-05 13:36:41 -04:00
jason 5cb82c6cbb 🗃️ Committing everything that changed 🗃️
.gitea/workflows/docker.yaml
2025-02-04 09:29:48 -05:00
jason 64c4a41cd0 🗃️ Committing everything that changed 🗃️
.gitea/workflows/docker.yaml
2025-02-04 09:26:43 -05:00
jason b0ba15fbc7 🗃️ Committing everything that changed 🗃️
Dockerfile
Dockerfile.2
Dockerfile.3
.env.scripts
.env.scripts.2
.env.scripts.3
rootfs/usr/local/share/template-files/config/env/default.sample
2025-02-03 15:20:11 -05:00
jason 86bf2aadd6 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-01-10 23:17:05 -05:00
jason f3250b48c6 🗃️ Committing everything that changed 🗃️
Dockerfile
.env.scripts
2024-09-25 09:03:28 -04:00
jason b1223598f9 🗃️ Committing everything that changed 🗃️
.env.scripts.2
.env.scripts.3
2024-09-25 08:11:15 -04:00
jason 195120c32c 🗃️ Committing everything that changed 🗃️
Dockerfile.2
Dockerfile.3
2024-09-25 08:09:13 -04:00
jason 6209ccffbf 🗃️ Committing everything that changed 🗃️
Dockerfile
Dockerfile.2
Dockerfile.3
2024-09-25 07:33:18 -04:00
jason 8df1d052d2 🗃️ Committing everything that changed 🗃️
.gitea/workflows/docker.2.yaml
.gitea/workflows/docker.3.yaml
2024-09-25 07:30:42 -04:00
jason b4a6e8e206 🗃️ Committing everything that changed 🗃️
Dockerfile
.env.scripts
2024-09-25 07:27:01 -04:00
jason 23d7cc6784 🗃️ Committing everything that changed 🗃️
.gitea/
2024-09-24 11:46:25 -04:00
jason 64852422f7 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-09-24 11:04:03 -04:00
jason 7dc1b6040a 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-09-07 21:03:01 -04:00
jason 20e39d122c 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-09-07 14:59:01 -04:00
jason af5e682467 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-09-07 14:12:48 -04:00
jason 46160da7f9 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-09-02 10:19:25 -04:00
jason 1267a80103 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-08-27 16:41:40 -04:00
jason 7319a62bc7 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-08-18 14:43:16 -04:00
jason 358615474d 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-08-18 08:05:53 -04:00
jason b36fdd0e81 🦈🏠🐜 Initial Commit 🐜🦈🏠 2024-08-13 19:41:07 -04:00