Repository navigation
Releases
Releases · aliasproject/ingot
v2.4.3
Ingot now remembers your databases between commands.
Fixed
- Databases are rediscovered from Docker (#31):
ingot database listandremovesee your databases, andglobal startandrestartkeep them up to date. Before this, every command afterdatabase addforgot them. On the firstglobal startafter updating, an existing database container is recreated once with labels that record its version and port, on the same data volume. Its port then listens on localhost only. - A removed database container comes back: if its container is gone,
global startcreates it again from the data volume. ingot database removenow stops the database cleanly, deletes its container and keeps the data volume.ingot database addwith the same version uses the data again, anddocker volume rmdeletes it. A database removed with an older version, whose container was left in place, is picked up again: runingot database removeonce more to remove it.ingot statuslists a project's running databases.
v2.4.2
ingot update now moves the idle waker to the new version too.
Fixed
- The idle waker updates with Ingot (#29):
ingot global refresh, whichingot updateruns, moves a runningingot_idleto the image for the new version and keeps its timeout. If the new image can't be pulled, the old waker keeps running and Ingot prints a warning. If the waker is missing while the proxy runs, refresh starts it. - The waker's "took too long to start" page no longer capitalises "The idle service's log" mid-sentence (#29).
Release tooling
scripts/release.shworks with signed tags, can be rerun after a failure, finishes a half-published draft release, and refuses a version that's already out. A.dockerignorekeeps everything but the image sources out of the image builds (#30).
v2.4.1
Fixes to the "No project here" page and a new look for the idle waker's pages.
Fixes
- The "No project here" page names the right folder (#27): a subdomain or dotted host no longer suggests a folder that doesn't exist, and the page notes that the folder's letter case may differ.
- The idle waker's pages have the Ingot look (#28): the pages shown while a project starts, or when it can't start, match the 404 page and give the command to run next (
ingot start,ingot logsoringot logs idle).
v2.4.0
A simpler "No project here" page, and ingot update now refreshes the proxy's pages and config.
New
ingot global refresh(#26): rewrites the proxy's base Caddyfile and pages from the installed binary.ingot updateruns it after installing, so pages and snippets no longer stay at the old version after an update.- A simpler "No project here" page (#25): one column with the address, the command to start the project and a Copy button, and a pointer to
ingot lsandingot doctor.
Docs
- The README, landing page and
ingot helpdescribe Ingot as local dev environments for any language, and label the PHP-only commands and settings as PHP-only (#24).
v2.3.0
Ingot now runs local dev environments for apps in any language, not just PHP.
New
- Apps in any language (#22): a project with no PHP but a Dockerfile or another language's manifest runs as an
app, from its own Dockerfile or a named image, on its own port. Set the port withingot port <n>and how the folder is mounted withingot mount none|workdir|<path>. ingot link <port>(#23): serve an app you run yourself on the host (go run,cargo run,npm run dev) athttps://<project>.test, with HTTPS, sharing and a page that says when the app isn't running.ingot unlinkremoves it.- Laravel for Rust runtime (#19): detected from
Cargo.toml, with its own image and environment. - A redesigned "No project here" page (#21), and an Ingot page when a PHP project returns an empty 500 (#17).
Fixes
v2.2.2
Fixes
ingot doctorno longer reports.testas broken when it works. On Linux, the release binaries use Go's built-in DNS client, which reads/etc/resolv.confdirectly and skips systemd-resolved's.testroute. Where that file lists your router rather than resolved's local stub (aliasOS, for example), doctor failed "System resolver does not resolve .test domains" and the per-project HTTPS check, even though browsers and curl reached the site. Doctor now looks these names up through the system's resolver (getent), the same way browsers do. (#15)
v2.2.1
Fixes
ingot updateworks without a GitHub token. Ingot's repository is now public, so no token orghlogin is needed. Earlier versions only requested the binary when they had a token. Without one, GitHub returned the asset's JSON description, and that was installed in place ofingot. The updater now always requests the binary, and it rejects a download whose size doesn't match the release. (#8)- If GitHub rejects the token (expired or revoked), the updater drops it and tries again without it, instead of failing.
Upgrade notes
- If you're on 2.2.0 or earlier with no
GITHUB_TOKENset and noghlogin, update by re-downloading instead of runningingot update:
curl -fsSLo ingot https://github.com/aliasproject/ingot/releases/latest/download/ingot-<os>-<arch> && chmod +x ingot && sudo mv ingot /usr/local/bin/ingot
Ifingotalready prints errors such assyntax error, it was replaced by that JSON file. The same command fixes it.
v2.2.0
Security
- Build-arg credentials are no longer saved on the container. Earlier versions stored every Dockerfile build-arg value in the
ingot.project.build_argslabel, so aGITHUB_TOKENor similar could be read by anything with Docker access (docker inspect). Args whose names look like credentials (*TOKEN*,*SECRET*,*PASSWORD*,COMPOSER_AUTH,SSH_KEY,GH_PAT, ...) are now stored by name only, and their values reachdocker buildthrough its environment rather than its command line. (#14) ingot doctorwarns when a project's container still holds a credential stored by an older version.
Changes
ingot rebuildasks for credential build args again, or reads them fromINGOT_BUILD_ARG_<NAME>(e.g.INGOT_BUILD_ARG_GITHUB_TOKEN). The first-run prompt uses that variable too when it's set.ingot env set,ingot php,ingot server-rootandingot idlenow reuse a Dockerfile project's built image instead of rebuilding it each time. Runingot rebuildafter editing the Dockerfile.
Upgrade notes
- If you've used a Dockerfile project with a token build arg, revoke that token: it has been readable from
docker inspect. Then runingot rebuildin the project. It asks for the new value, doesn't save it, and rewrites the label without the old one.ingot doctorlists the projects that need this.
v2.1.1
Highlights
- Runs natively on arm64 Linux (e.g. Asahi/aliasOS on Apple Silicon). The compose config no longer pins MySQL to
linux/amd64, so it works without QEMU. (#11) - MailHog → Mailpit. MailHog only shipped amd64 images and was unmaintained. Mailpit (
axllent/mailpit:v1.32) uses the same ports, 1025 SMTP and 8025 UI, soMAIL_HOST=mailsetups don't change, and it accepts any SMTP credentials. (#11) - No GitHub login needed. Every Ingot image is now a public GHCR package; the GitHub auth commands and the installer's GitHub step are gone. If a pull is refused with "denied", run
docker logout ghcr.io, because a stale login from an older version is still being sent. (#10) - MySQL 5.7 removed (end of life since 2023, amd64-only). New databases are MySQL 8.0. (#12)
Upgrade notes
- Run
ingot global restartafter updating, so the mail service switches to Mailpit. - An existing
ingot_mysqlcontainer isn't regenerated byglobal restart. On arm64 Linux, if it was created by an older version and crash-loops withexec format error, remove the container (docker rm -f ingot_mysql) and runingot database addagain. The data volume is kept. - If you were on MySQL 5.7, the container keeps running. Adding 8.0 creates a new
ingot_mysql-8.0volume, and your 5.7 data stays iningot_mysql-5.7.
v2.1.0
Ingot Local CA
The local root CA is now named Ingot Local CA (organization: Alias Project) and is valid for 10 years. Its image is built from this repo and published as ghcr.io/aliasproject/ingot-openssl:<version>.
- Project certificates: they gain the
serverAuthusage Apple platforms require. They're reissued automatically oningot startwhen they no longer verify against the CA or expire within 30 days. - Caddy: it now picks up reissued certificates (reloads use
--force). - Trust checks: macOS keychain detection and the Windows trust check are fixed.
Upgrading from 2.0.0: a new CA is generated, so the old one has to be removed and the new one trusted. See the Rollout section of #9.