jason
caec0b6756
🐛 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:31:58 -04:00
jason
6b4c9b7cbb
🐛 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:32:58 -04:00
jason
5b96de5b86
♻️ Migrate cherokee to /config/ source-of-truth architecture ♻️
...
Migrate cherokee 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 (cherokee ) deployed to /etc/ at build time
- rootfs/tmp/usr/: add default web content deployed to /usr/local/share/ 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/share/template-files/config/cherokee/cherokee.conf
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/data/htdocs/cgi-bin/.gitkeep
rootfs/usr/local/share/template-files/data/htdocs/www/404.html
rootfs/usr/local/share/template-files/data/htdocs/www/css/bootstrap.min.css
rootfs/usr/local/share/template-files/data/htdocs/www/css/errorpages.css
rootfs/usr/local/share/template-files/data/htdocs/www/css/index.css
rootfs/usr/local/share/template-files/data/htdocs/www/favicon.ico
rootfs/usr/local/share/template-files/data/htdocs/www/images/403.png
rootfs/usr/local/share/template-files/data/htdocs/www/images/404.gif
rootfs/usr/local/share/template-files/data/htdocs/www/images/bg.png
rootfs/usr/local/share/template-files/data/htdocs/www/images/favicon.ico
rootfs/usr/local/share/template-files/data/htdocs/www/images/icon.png
rootfs/usr/local/share/template-files/data/htdocs/www/images/icon.svg
rootfs/usr/local/share/template-files/data/htdocs/www/index.html
rootfs/usr/local/share/template-files/data/htdocs/www/info.php
rootfs/usr/local/share/template-files/data/htdocs/www/js/app.js
rootfs/usr/local/share/template-files/data/htdocs/www/js/bootstrap.min.js
rootfs/usr/local/share/template-files/data/htdocs/www/js/errorpages/homepage.js
rootfs/usr/local/share/template-files/data/htdocs/www/js/errorpages/isup.js
rootfs/usr/local/share/template-files/data/htdocs/www/js/errorpages/loaddomain.js
rootfs/usr/local/share/template-files/data/htdocs/www/js/errorpages/scale.fix.js
rootfs/usr/local/share/template-files/data/htdocs/www/js/jquery/default.js
rootfs/usr/local/share/template-files/data/htdocs/www/js/passprotect.min.js
rootfs/usr/local/share/template-files/data/htdocs/www/server-health
rootfs/usr/local/share/template-files/data/htdocs/www/server-health.json
rootfs/usr/local/share/template-files/data/htdocs/www/site.webmanifest
rootfs/usr/local/share/template-files/defaults/.gitkeep
2026-06-04 14:37:52 -04:00
jason
c912e616af
🗃️ Updated the functions file 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2026-05-24 12:26:31 -04:00
jason
94cfb45b59
🗃️ 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:05:51 -04:00
jason
c9ea3a8b30
🗃️ 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:20 -04:00
jason
202e1f7500
🗃️ 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:34:39 -04:00
jason
29b67150eb
🗃️ Update codebase 🗃️
...
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-30 16:25:18 -05:00
jason
6d5ca8e7a2
🐳 Enhancement: docker entrypoint script modifications 🐳
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-11-30 16:00:24 -05:00
jason
0b5ddecf3d
🗃️ 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:34 -05:00
jason
b1e56c851c
🗃️ 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:06 -05:00
jason
7d8bc35d84
🗃️ Fixed the .gitignore file 🗃️
...
.gitignore
2025-11-23 08:47:21 -05:00
jason
b0e0938052
🗃️ Fixed the .gitignore file 🗃️
...
.gitignore
Dockerfile
2025-10-31 12:33:41 -04:00
jason
9c359644ed
🗃️ Fixed the .gitignore file 🗃️
...
.gitignore
2025-10-22 13:05:10 -04:00
jason
73e9526168
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-09-20 06:38:55 -04:00
jason
1c666cf5fd
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-09-20 05:27:15 -04:00
jason
b14b239a5f
🗃️ Committing everything that changed 🗃️
...
Dockerfile
Dockerfile.cherokee
Dockerfile.final
Dockerfile.nossl
Dockerfile.selective
Dockerfile.stable
Dockerfile.ubuntu
Dockerfile.zevenet
.env.scripts
.gitignore
rootfs/.gitea/workflows/docker.yaml
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-09-16 19:36:57 -04:00
jason
f2c994b22e
🗃️ Committing everything that changed 🗃️
...
.env.scripts
2025-09-16 10:22:13 -04:00
jason
c95f2d4da9
🗃️ Committing everything that changed 🗃️
...
Dockerfile
Dockerfile.cherokee
Dockerfile.final
Dockerfile.nossl
Dockerfile.selective
Dockerfile.stable
Dockerfile.ubuntu
Dockerfile.zevenet
.dockerignore
.gitattributes
.gitignore
LICENSE.md
README.md
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/
rootfs/usr/local/share/template-files/config/.gitkeep
rootfs/usr/local/share/template-files/data/.gitkeep
2025-09-16 09:09:27 -04:00
jason
8989948a45
🗃️ Committing everything that changed 🗃️
...
Jenkinsfile
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/
2025-09-05 13:35:15 -04:00
jason
a098f9dfeb
🗃️ Committing everything that changed 🗃️
...
Dockerfile
2025-02-04 10:59:12 -05:00
jason
afa62b8bc3
🗃️ Committing everything that changed 🗃️
...
.gitea/workflows/docker.yaml
2025-02-04 09:28:31 -05:00
jason
bc01e29d9e
➕ Added: rootfs/usr/local/bin/entrypoint.sh ➕
...
Added: rootfs/usr/local/bin/entrypoint.sh
2024-08-01 16:07:06 -04:00
jason
e53dc94f7a
➕ Added: .gitea/ ➕
...
Added: .gitea/
2024-08-01 16:07:06 -04:00
jason
89bc801ea8
➕ Added: Dockerfile ➕
...
Added: Dockerfile
2024-08-01 16:07:06 -04:00
jason
c48476f78d
🗃️ Committing everything that changed 🗃️
...
rootfs/usr/local/share/template-files/data/htdocs/www/js/errorpages/loaddomain.js
2024-07-17 19:47:48 -04:00
casjay
646f9bd9d8
🗃️ Updated domain names 🗃️
...
Dockerfile
LICENSE.md
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/bin/start-cherokee.sh
2023-08-10 19:54:19 -04:00
casjay
1dccdf98d0
🔵 Added .gitattributes 🔵
2023-07-29 12:34:13 -04:00
casjay
60071edc86
🗃️ Committing everything that changed 🗃️
2023-01-08 11:19:25 -05:00
casjay
fa2baa3d63
🗃️ Committing everything that changed 🗃️
2022-10-26 14:03:09 -04:00
casjay
50dfd9649e
🗃️ Committing everything that changed 🗃️
2022-10-20 17:12:22 -04:00
casjay
8532dd05e8
🗃️ Committing everything that changed 🗃️
2022-10-11 21:07:42 -04:00
casjay
a745ead84b
🗃️ Committing everything that changed 🗃️
2022-10-11 20:58:10 -04:00
casjay
e63e6cac74
🗃️ Committing everything that changed 🗃️
2022-10-11 19:53:49 -04:00
casjay
4ee9c66769
🗃️ Committing everything that changed 🗃️
2022-10-11 19:51:53 -04:00
casjay
18754b3a85
🗃️ Committing everything that changed 🗃️
2022-10-11 19:46:53 -04:00
casjay
b4ba5abe80
🗃️ Committing everything that changed 🗃️
2022-10-11 19:09:12 -04:00
casjay
b9606c5107
🗃️ Committing everything that changed 🗃️
2022-10-11 19:01:22 -04:00
casjay
9318a8fa07
🗃️ Committing everything that changed 🗃️
2022-10-11 18:57:47 -04:00
casjay
671a763245
🗃️ Committing everything that changed 🗃️
2022-10-11 18:18:45 -04:00
casjay
49169e9a01
🗃️ Committing everything that changed 🗃️
2022-10-11 18:12:00 -04:00
casjay
b63c15617b
🗃️ Committing everything that changed 🗃️
2022-10-11 17:49:12 -04:00
casjay
23ff9d5fe8
🗃️ Committing everything that changed 🗃️
2022-10-11 17:47:56 -04:00
casjay
14ec7c9c18
🗃️ Committing everything that changed 🗃️
2022-10-11 17:23:05 -04:00
casjay
4957b0de79
🗃️ Committing everything that changed 🗃️
2022-10-11 17:05:07 -04:00
casjay
26098e2635
🗃️ Committing everything that changed 🗃️
2022-10-11 16:57:58 -04:00
casjay
9d73a82c28
🗃️ Committing everything that changed 🗃️
2022-10-11 16:50:15 -04:00
casjay
f79b81dba1
🗃️ Committing everything that changed 🗃️
2022-10-11 16:22:27 -04:00
casjay
0a65cffe6b
🗃️ Committing everything that changed 🗃️
2022-10-11 16:07:49 -04:00
casjay
6e1badbed9
🗃️ Committing everything that changed 🗃️
2022-10-11 13:59:46 -04:00