Commit Graph

9 Commits

Author SHA1 Message Date
jason d0833bd5a8 🐛 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:17 -04:00
jason 409c805b11 🐛 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/
2026-06-05 12:34:11 -04:00
jason 643f942094 ♻️ Migrate lenpaste to /config/ source-of-truth architecture ♻️
Migrate lenpaste 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; add WTFPL header, single shellcheck disable, vim modeline

rootfs/root/docker/setup/03-files.sh
2026-06-04 14:32:37 -04:00
jason 593b639ed0 🗃️ Removed the .claude/settings.local.json 🗃️
Dockerfile
.env.scripts
.gitattributes
.gitea/workflows/docker.yaml
.gitignore
LICENSE.md
README.md
rootfs/
2026-05-12 20:07:02 -04:00
jason b48616fdee 🗃️ 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:11 -04:00
jason 6cf1ab97d5 🔧 Update configuration files 🔧
.claude/settings.local.json
2026-01-29 20:45:14 -05:00
jason f3bf0501a6 🐳 Updated Dockerfile* and .env.scripts* 🐳
Dockerfile
2025-11-29 11:04:26 -05:00
jason bc1ead65d1 🗃️ Fixed the .gitignore file 🗃️
.gitignore
2025-11-23 08:47:43 -05:00
jason 96009df6a1 🦈🏠🐜 Initial Commit 🐜🦈🏠 2025-11-08 16:39:19 -05:00