Repository navigation
Fix Docker and Caddy setup, bind ports to localhost, update the shared cache - #33
Merged
Merged
Conversation
The CLI parser exports DRY_RUN=false and get.docker.com treats any non-empty value as a dry run, so nothing was installed. Run it without the variable. Fixes #28 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Minimal Debian and Ubuntu systems ship without sudo, which the toolbox scripts call even when running as root. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…uire a password The shared Redis is published only on the address containers reach as host-gateway, with a generated password stored in redis-shared/.env. Existing installations are brought up to date by `deploy.sh wordpress --update` or by installing another site: data is kept, every site using the cache (and stacks pointing at it by URL) receives the password and is reloaded. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Installers follow the BIND_ADDR convention: 127.0.0.1 for caddy, cloudflare and local, all interfaces for Cytrus. The Supabase installer applies it to the HTTP ports of the downloaded compose file; the PostgreSQL pooler stays as shipped. A static test covers every published port line. Existing installations keep their compose file until it is edited or redeployed. Closes #26 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Neither installer had a PORT= line, so the domain was never passed to it and, with ports bound to localhost, the app was reachable only through a tunnel. minio: PORT is the Console port (the domain target), API_PORT the S3 API. typebot: PORT is the viewer port (base domain); the installer reports the builder port for builder.* domains and installs without a domain. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… it changes Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…eploys Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…s not served - one ensure_caddy installer shared by both domain types and the hosting scripts - a failed install or site setup fails the deploy and prints the reason - check that Caddy stays up: it can report a successful start and exit - keep an existing Caddyfile, adding the conf.d import to it - caddy-install.sh loads its messages when TOOLBOX_LANG is already set Fixes #25 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
# Conflicts: # README.md
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The /etc/caddy path was rewritten first, to a directory under mktemp's output. On Linux that is under /tmp/, so the following /tmp/ rewrite changed it again and the site lookup read a directory that does not exist. Rewrite /tmp first. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
One release branch with four sets of fixes. User-facing changes and upgrade steps:
CHANGELOG.md.sudois installed.--domain-type=caddyinstalls Caddy and fails when the domain is not served.127.0.0.1for new installations (Cytrus unchanged).Verified on the merged branch:
./tests/run.sh370 passed, 0 failed. Local Docker end-to-end runs: one-line installer on Debian 12 and Ubuntu 24.04 (12/12), Caddy domain on Debian 12 (10/10), ntfy and Stirling-PDF withcytrusandcaddy(15/15), two WordPress sites with the shared cache (23/23). Not covered: a real VPS, amd64, public DNS and certificates, Cloudflare, MySQL mode, upgrading an existing installation on the merged branch.Fixes #25
Closes #26
Fixes #28
🤖 Generated with Claude Code