Commit Graph
56 Commits
Author SHA1 Message Date
jason aa9b27437a 🚀 Version Bump: 202608022044-git 🚀
tools / release-tools (push) Failing after 1m22s
2026-08-02 20:44:45 -04:00
jason c2546d1812 🗃️ Update codebase 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2026-08-02 20:44:45 -04:00
jason 3ae33b4618 🚀 Version Bump: 202607272328-git 🚀
tools / release-tools (push) Failing after 1m18s
2026-07-27 23:28:32 -04:00
jason f5fe0366bb 🐛 Fix entrypoint hang and lost-interpreter bugs 🐛
- rootfs/usr/local/bin/entrypoint.sh:
  1. The "start all services" gate
     (`if [ "$START_SERVICES" = "yes" ] || [ -z "$1" ]`) always evaluated
     true on a first-run container regardless of $1, because
     START_SERVICES is force-set to "yes" whenever no PID file exists yet.
     Any command passed to `docker run` — `exec ...`, `sh -c ...`,
     `shell`, or an arbitrary program — was swallowed into the
     service-start+monitor branch before reaching the `case "$1"`
     statement that already handles those subcommands, hanging the
     container as a daemon instead of running the given command. Changed
     the condition to `if [ -z "$1" ]` so the daemon branch only fires
     when no command was given at all.
  2. The `*/bin/sh | */bin/bash | bash | sh | shell)` case branch
     unconditionally shifted $1 before `__exec_command "$@"` (a bare
     `exec "$@"`). For `docker run image sh -c 'cmd'` this turned the
     exec into `exec -c cmd` (command not found, exit 127) instead of
     `exec sh -c 'cmd'`. Split the branch: real interpreter names
     (*/bin/sh, */bin/bash, bash, sh) now pass through unshifted; the
     "shell" keyword (not a real interpreter) gets its own branch that
     shifts and prepends "sh" to any remaining args, or falls back to a
     bare `__exec_command` (exec bash -l) when none remain.
  Verified `bash -n` passes. Found and fixed upstream in
  dockersrc/go, confirmed identical in this repo's generated
  entrypoint.sh, and mechanically applied here with the same patch.
2026-07-27 23:28:31 -04:00
jason 70e6e3c51d 🚀 Version Bump: 202607101227-git 🚀
tools / release-tools (push) Has been cancelled
2026-07-10 12:27:38 -04:00
jason c472a8a9ca 📝 Migrate /var/lib/srv docker paths to /srv in README 📝
Update volume mount examples and dockerHome variable from
the old /var/lib/srv/$USER/docker layout to /srv/$USER/docker.
- README.md: update volume path references to /srv/$USER/docker

README.md
rootfs/usr/local/bin/copy
rootfs/usr/local/bin/healthcheck
rootfs/usr/local/bin/symlink
2026-07-10 12:27:37 -04:00
jason 81cbb5de51 🚀 Version Bump: 202606262352-git 🚀
tools / release-tools (push) Failing after 2s
2026-06-26 23:52:27 -04:00
jason 8d0e3aa00f 🗃️ Update codebase 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2026-06-26 23:52:27 -04:00
jason b901e92f06 🚀 Version Bump: 202606261840-git 🚀
tools / release-tools (push) Failing after 14m37s
2026-06-26 18:40:17 -04:00
jason 8f3ce18b12 🐛 Fix duplicate 2>/dev/null in entrypoint.sh /etc/hosts line 🐛
The grep -vF line that appends /usr/local/etc/hosts entries had a
duplicate 2>/dev/null redirect after the append operator, which is
a no-op but clutters the script. Synced from template.
- rootfs/usr/local/bin/entrypoint.sh: remove duplicate 2>/dev/null
from grep -vF /etc/hosts append line; bump version to 202606261500-git

rootfs/usr/local/bin/entrypoint.sh
2026-06-26 18:40:16 -04:00
jason a3cee94f1c 🚀 Version Bump: 202606051826-git 🚀 2026-06-05 18:26:01 -04:00
jason 2012ceea88 🐛 Update entrypoint.sh and functions library from current template 🐛
Stale copies called __initialize_default_templates, __initialize_config_dir,
and __initialize_data_dir which are not in the old functions library,
causing container startup failures. Replaced with current template
versions (202606041210-git) which no longer call those missing functions.
- rootfs/usr/local/bin/entrypoint.sh: update to current template
- rootfs/usr/local/etc/docker/functions/entrypoint.sh: update to current template

rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2026-06-05 18:26:00 -04:00
jason 2b5a0c720b 🚀 Version Bump: 202606051435-git 🚀 2026-06-05 14:35:16 -04:00
jason 9cd3abfa7c 🐛 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:35:15 -04:00
jason 735fb17d4c 🚀 Version Bump: 202606051236-git 🚀 2026-06-05 12:36:12 -04:00
jason 60cef0551e 🐛 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:36:12 -04:00
jason a0003f9472 🚀 Version Bump: 202606041433-git 🚀 2026-06-04 14:33:58 -04:00
jason affd83905b ♻️ Migrate tools to /config/ source-of-truth architecture ♻️
Migrate tools 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 with __init_service_conf, __find_php_ini, __find_php_bin helpers

rootfs/root/docker/setup/03-files.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2026-06-04 14:33:57 -04:00
jason d15550ff36 🚀 Version Bump: 202605241227-git 🚀 2026-05-24 12:27:50 -04:00
jason b8f6c90468 🗃️ Updated the functions file 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2026-05-24 12:27:50 -04:00
jason 149ec3cdf0 🚀 Version Bump: 202605122009-git 🚀 2026-05-12 20:09:24 -04:00
jason 40d7f3aa08 🗃️ Removed the .claude/settings.local.json 🗃️
.dockerignore
.env.scripts
.gitattributes
.gitea/workflows/docker.yaml
.gitignore
LICENSE.md
README.md
rootfs/root/
rootfs/usr/local/bin/
2026-05-12 20:09:24 -04:00
jason 8740089da2 🚀 Version Bump: 202605051913-git 🚀 2026-05-05 19:13:16 -04:00
jason f146dc5bd7 🗃️ 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/etc/docker/functions/entrypoint.sh
2026-05-05 19:13:16 -04:00
jason ca39528906 🚀 Version Bump: 202511230848-git 🚀 2025-11-23 08:48:25 -05:00
jason d17b7f30e3 🗃️ Fixed the .gitignore file 🗃️
.gitignore
2025-11-23 08:48:25 -05:00
jason 3b5d73b45b 🚀 Version Bump: 202510221306-git 🚀 2025-10-22 13:06:20 -04:00
jason 406b1efee5 🗃️ Fixed the .gitignore file 🗃️
.gitignore
2025-10-22 13:06:19 -04:00
jason 889e3ebc1c 🚀 Version Bump: 202509200640-git 🚀 2025-09-20 06:40:05 -04:00
jason 23eeeb80ba 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-09-20 06:40:05 -04:00
jason 774e22b5db 🚀 Version Bump: 202509200528-git 🚀 2025-09-20 05:28:17 -04:00
jason 23c3dcce7e 🗃️ Committing everything that changed 🗃️
rootfs/
2025-09-20 05:28:17 -04:00
jason fc2ddbf7eb 🚀 Version Bump: 202509161023-git 🚀 2025-09-16 10:23:46 -04:00
jason 8c63f43830 🗃️ Committing everything that changed 🗃️
.env.scripts
2025-09-16 10:23:46 -04:00
jason cceee9c84a 🚀 Version Bump: 202502040930-git 🚀 2025-02-04 09:30:11 -05:00
jason 2fcdb6cbe7 🗃️ Committing everything that changed 🗃️
.gitea/workflows/docker.yaml
2025-02-04 09:30:11 -05:00
jason 4b2fe29095 🚀 Version Bump: 202408011612-git 🚀 2024-08-01 16:12:45 -04:00
jason f488209469 Added: .gitea/
Added: .gitea/
2024-08-01 16:12:45 -04:00
jason c572ea39b4 Added: configs/apache2/vhosts.d/default.ssl.conf
Added: configs/apache2/vhosts.d/default.ssl.conf
2024-08-01 16:12:45 -04:00
jason c82dc0abc5 Added: configs/apache2/vhosts.d/default.conf
Added: configs/apache2/vhosts.d/default.conf
2024-08-01 16:12:44 -04:00
jason 00ef4fde07 Added: configs/apache2/httpd.ssl.conf
Added: configs/apache2/httpd.ssl.conf
2024-08-01 16:12:44 -04:00
jason 439e9bc99b Added: configs/apache2/httpd.conf
Added: configs/apache2/httpd.conf
2024-08-01 16:12:44 -04:00
jason 025c2620da 🚀 Version Bump: 202407171949-git 🚀 2024-07-17 19:49:13 -04:00
jason 8352631685 🗃️ Committing everything that changed 🗃️
wwwroot/js/errorpages/loaddomain.js
2024-07-17 19:49:13 -04:00
jason 75e36ccb33 🚀 Version Bump: 202407141048-git 🚀 2024-07-14 10:48:21 -04:00
jason 904d6a3afc 🗃 Modified: init/zz-nginx.sh 🗃
Modified: init/zz-nginx.sh
2024-07-14 10:48:20 -04:00
jason d497db2f78 🗃 Modified: init/05-php-fpm.sh 🗃
Modified: init/05-php-fpm.sh
2024-07-14 10:48:20 -04:00
jason 5a519617cd 🗃 Modified: init/00-redis.sh 🗃
Modified: init/00-redis.sh
2024-07-14 10:48:20 -04:00
jason b0cff59ad1 🗃 Modified: init/00-postgres.sh 🗃
Modified: init/00-postgres.sh
2024-07-14 10:48:20 -04:00
jason 303c780d7e 🗃 Modified: init/00-mariadb.sh 🗃
Modified: init/00-mariadb.sh
2024-07-14 10:48:20 -04:00
jason e56a2b7690 🚀 Version Bump: 202308232010-git 🚀 2023-08-23 20:10:41 -04:00
jason b9e735c864 🗃️ Committing everything that changed 🗃️
../../couchdb/scripts/commands.sh
2023-08-23 20:10:41 -04:00
jason 6abfacd6a0 🚀 Version Bump: 202308230220-git 🚀 2023-08-23 02:20:01 -04:00
jason 4ed0909028 🗃️ Committing everything that changed 🗃️
applications/php/scripts/packages.sh
applications/postgres/scripts/install.sh
applications/redis/config/
applications/redis/scripts/commands.sh
configs/nginx/nginx.conf
configs/nginx/nginx.ssl.conf
configs/nginx/vhosts.d/default.conf
configs/nginx/vhosts.d/default.conf.sample
configs/nginx/vhosts.d/default.ssl.conf
configs/nginx/vhosts.d/default.ssl.sample
configs/phppgadmin/
configs/postgres/
init/
wwwroot/404.html
wwwroot/cgi-bin/
wwwroot/css/
wwwroot/favicon.ico
wwwroot/health/
wwwroot/images/
wwwroot/index.php
wwwroot/info.php
wwwroot/js/
wwwroot/robots.txt
wwwroot/site.webmanifest
wwwroot/www/404.html
wwwroot/www/cgi-bin/env.cgi
wwwroot/www/cgi-bin/env.php
wwwroot/www/cgi-bin/env.pl
wwwroot/www/cgi-bin/env.py
wwwroot/www/cgi-bin/env.rb
wwwroot/www/cgi-bin/printenv
wwwroot/www/cgi-bin/printenv.vbs
wwwroot/www/cgi-bin/printenv.wsf
wwwroot/www/cgi-bin/test-cgi
wwwroot/www/css/bootstrap.css
wwwroot/www/css/bootstrap.min.css
wwwroot/www/css/bs.plain.css
wwwroot/www/css/cookieconsent.css
wwwroot/www/css/errorpages.css
wwwroot/www/css/index.css
wwwroot/www/favicon.ico
wwwroot/www/health/health/index.json
wwwroot/www/health/health/index.txt
wwwroot/www/health/index.json
wwwroot/www/health/index.txt
wwwroot/www/images/403.png
wwwroot/www/images/404.gif
wwwroot/www/images/bg.png
wwwroot/www/images/favicon.ico
wwwroot/www/images/icon.png
wwwroot/www/images/icon.svg
wwwroot/www/index.php
wwwroot/www/info.php
wwwroot/www/js/app.js
wwwroot/www/js/bootstrap.min.js
wwwroot/www/js/errorpages/homepage.js
wwwroot/www/js/errorpages/isup.js
wwwroot/www/js/errorpages/loaddomain.js
wwwroot/www/js/errorpages/scale.fix.js
wwwroot/www/js/jquery/default.js
wwwroot/www/js/passprotect.min.js
wwwroot/www/robots.txt
wwwroot/www/site.webmanifest
2023-08-23 02:19:52 -04:00
jason dc77cc27c4 🚀 Version Bump: 202308221753-git 🚀 2023-08-22 17:53:11 -04:00
jason 5eb3ff1598 🗃️ Committing everything that changed 🗃️
applications/
configs/
lists/
wwwroot/
2023-08-22 17:53:03 -04:00