casjay
d88f4e0dbf
🐛 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:32:24 -04:00
casjay
f6b5818cee
🐛 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:33:24 -04:00
casjay
aa4d64c1ed
♻️ Migrate couchdb to /config/ source-of-truth architecture ♻️
...
Migrate couchdb 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
- rootfs/usr/local/etc/docker/functions/entrypoint.sh: update to latest template
- rootfs/usr/local/etc/docker/init.d/*.sh: fix $(basename) UUOC; move inline comments above code lines
- rootfs/tmp/etc/: add service config files (couchdb nginx ) deployed to /etc/ at build time
- rootfs/usr/local/share/template-files/: delete; config now deployed via /tmp/etc/ and /tmp/usr/ at build time
rootfs/root/docker/setup/03-files.sh
rootfs/tmp/
rootfs/usr/local/etc/docker/functions/entrypoint.sh
rootfs/usr/local/etc/docker/init.d/00-couchdb.sh
rootfs/usr/local/etc/docker/init.d/zz-nginx.sh
rootfs/usr/local/share/template-files/config/couchdb/default.ini
rootfs/usr/local/share/template-files/config/couchdb/local.ini
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/config/nginx/mime.types
rootfs/usr/local/share/template-files/config/nginx/nginx.conf
rootfs/usr/local/share/template-files/config/nginx/nginx.ssl.conf
rootfs/usr/local/share/template-files/config/nginx/vhosts.d/default.conf.sample
rootfs/usr/local/share/template-files/config/nginx/vhosts.d/default.ssl.sample
rootfs/usr/local/share/template-files/data/.gitkeep
rootfs/usr/local/share/template-files/defaults/.gitkeep
2026-06-04 14:38:14 -04:00
casjay
fadb1a2a74
🗃️ Updated the functions file 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2026-05-24 12:26:39 -04:00
casjay
59cb65ec42
🗃️ 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/env/default.sample
rootfs/usr/local/etc/docker/env/zz-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:30 -04:00
casjay
70e1209d6a
🗃️ Update codebase 🗃️
...
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-30 16:25:23 -05:00
casjay
8b6aed50d0
🔄 Updated entrypoint.sh script in docker functions 🔄
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-30 16:00:59 -05:00
casjay
050d976d77
🗃️ 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:38 -05:00
casjay
5baa432691
🗃️ Updated Dockerfile* and .env.scripts* 🗃️
...
Dockerfile
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-29 11:04:11 -05:00
casjay
e56a11f5a8
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
rootfs/usr/local/etc/docker/init.d/00-couchdb.sh
rootfs/usr/local/etc/docker/init.d/zz-nginx.sh
2025-09-20 06:39:00 -04:00
casjay
5d28768a18
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-09-20 05:27:20 -04:00
casjay
320c86dda4
🗃️ Committing everything that changed 🗃️
...
Dockerfile
.env.scripts
.gitattributes
.gitignore
rootfs/.gitea/
rootfs/root/docker/setup/00-init.sh
rootfs/root/docker/setup/01-system.sh
rootfs/root/docker/setup/02-packages.sh
rootfs/root/docker/setup/03-files.sh
rootfs/root/docker/setup/04-users.sh
rootfs/root/docker/setup/05-custom.sh
rootfs/root/docker/setup/06-post.sh
rootfs/root/docker/setup/07-cleanup.sh
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
rootfs/usr/local/share/template-files/config/env/examples/
rootfs/usr/local/share/template-files/config/.gitkeep
2025-09-16 19:37:06 -04:00
casjay
7f9a8d77e9
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-09-16 09:09:36 -04:00
casjay
c5a9a34a75
🗃️ Committing everything that changed 🗃️
...
Jenkinsfile
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/
2025-09-05 13:35:24 -04:00
casjay
99499446d4
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-01-10 23:16:11 -05:00
casjay
3496330041
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-09-24 11:03:14 -04:00
casjay
f1b184f184
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-08-01 16:35:32 -04:00
casjay
704f3ecf47
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-08-01 15:37:54 -04:00
casjay
8134307c0e
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-08-01 15:01:44 -04:00
casjay
375cba7a4d
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-08-01 14:52:41 -04:00
casjay
f43d003c59
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-08-01 14:48:01 -04:00
casjay
cc70bfe734
🗃️ Fixed: rootfs/usr/local/etc/docker/functions/entrypoint.sh 🗃️
...
Dockerfile
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-07-31 12:27:27 -04:00
casjay
96d14b4857
🗃️ Fixed: rootfs/usr/local/etc/docker/functions/entrypoint.sh 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-07-29 18:22:42 -04:00
casjay
1c6ed0ae83
🗃️ 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:55:07 -04:00
casjay
9ec224aef0
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-07-14 20:04:09 -04:00
casjay
427d8d9402
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-07-14 18:44:56 -04:00
casjay
fcb7e1e0b2
🗃 Modified: rootfs/usr/local/etc/docker/init.d/zz-nginx.sh 🗃
...
Modified: rootfs/usr/local/etc/docker/init.d/zz-nginx.sh
2024-07-14 10:43:40 -04:00
casjay
c5c367b89d
🗃 Modified: rootfs/usr/local/etc/docker/init.d/00-couchdb.sh 🗃
...
Modified: rootfs/usr/local/etc/docker/init.d/00-couchdb.sh
2024-07-14 10:43:39 -04:00
casjay
884361460c
🗃 Modified: rootfs/usr/local/etc/docker/functions/entrypoint.sh 🗃
...
Modified: rootfs/usr/local/etc/docker/functions/entrypoint.sh
2024-07-14 10:43:39 -04:00
casjay
ec7918be39
🦈 🏠 🐜 ❗ Initial Commit ❗ 🐜 🦈 🏠
2023-08-23 22:49:47 -04:00