{"id":34770300,"url":"https://github.com/bnema/gordon","last_synced_at":"2026-04-04T14:02:48.870Z","repository":{"id":194809109,"uuid":"691081157","full_name":"bnema/gordon","owner":"bnema","description":"Minimalist self-hosted containerized webapp deployment tool.","archived":false,"fork":false,"pushed_at":"2026-03-29T20:55:09.000Z","size":25237,"stargazers_count":10,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-29T22:27:29.510Z","etag":null,"topics":["containers","deployment","golang","self-hosted"],"latest_commit_sha":null,"homepage":"https://gordon.bnema.dev","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bnema.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2023-09-13T13:13:24.000Z","updated_at":"2026-03-29T06:25:15.000Z","dependencies_parsed_at":"2026-02-10T07:01:34.644Z","dependency_job_id":null,"html_url":"https://github.com/bnema/gordon","commit_stats":null,"previous_names":["bnema/gordon"],"tags_count":137,"template":false,"template_full_name":null,"purl":"pkg:github/bnema/gordon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bnema%2Fgordon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bnema%2Fgordon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bnema%2Fgordon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bnema%2Fgordon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bnema","download_url":"https://codeload.github.com/bnema/gordon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bnema%2Fgordon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["containers","deployment","golang","self-hosted"],"created_at":"2025-12-25T07:56:38.015Z","updated_at":"2026-04-01T18:29:35.128Z","avatar_url":"https://github.com/bnema.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gordon\n\n[![License: GPL-3.0](https://img.shields.io/badge/License-GPL%203.0-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n[![Go Report Card](https://goreportcard.com/badge/github.com/bnema/gordon)](https://goreportcard.com/report/github.com/bnema/gordon)\n\nSelf-hosted container deployment. Push an image, Gordon routes it to the web.\n\n- Website: https://gordon.bnema.dev\n- Documentation: [Docs](https://gordon.bnema.dev/docs) | [Wiki](https://gordon.bnema.dev/wiki)\n- Discuss: [GitHub Discussions](https://github.com/bnema/gordon/discussions)\n\n---\n\n## What is Gordon?\n\nGordon is a private container registry and HTTP reverse proxy for your VPS. Push a container image that exposes a web port — Gordon deploys it with zero downtime.\n\n## Quick Start\n\n```bash\n# Install\ncurl -fsSL https://gordon.bnema.dev/install.sh | sh\n\n# Start the server\ngordon serve\n```\n\nConfig is created at `~/.config/gordon/gordon.toml`. See the [Getting Started guide](https://gordon.bnema.dev/docs/getting-started) for full setup.\n\n## Deploy with the CLI\n\nBuild locally, push directly to your Gordon server:\n\n```bash\n# Push an image and deploy it to a domain\ngordon push app.example.com --image myapp:latest\n\n# Or add a route manually, then deploy\ngordon routes add app.example.com myapp:latest\ngordon routes deploy app.example.com\n\n# Check status\ngordon status\n```\n\nRoll back, restart, or manage secrets — all from the command line:\n\n```bash\ngordon rollback app.example.com    # Revert to a previous image tag\ngordon restart app.example.com     # Restart the container\ngordon secrets set app.example.com DB_HOST=db.internal API_KEY=secret123\n```\n\n## Deploy from CI/CD\n\nPush to Gordon's registry from any CI pipeline. Gordon deploys automatically on image push.\n\n### GitHub Actions\n\n```yaml\n- uses: bnema/gordon/.github/actions/deploy@main\n  with:\n    registry: registry.mydomain.com\n    username: ${{ secrets.GORDON_USERNAME }}\n    password: ${{ secrets.GORDON_TOKEN }}\n```\n\n### Docker CLI\n\n```bash\ndocker login registry.mydomain.com\ndocker build -t registry.mydomain.com/myapp:v1.0.0 .\ndocker push registry.mydomain.com/myapp:v1.0.0\n# -\u003e Deployed automatically\n```\n\nSee the [Deploy Action README](.github/actions/deploy/README.md) for multi-platform builds, monorepo support, and all available options.\n\n## CLI Commands\n\n### Server\n\n| Command | Description |\n|---------|-------------|\n| `gordon serve` | Start the Gordon server |\n| `gordon status` | Show server and route health |\n| `gordon config show` | Display server configuration |\n\n### Deployment\n\n| Command | Description |\n|---------|-------------|\n| `gordon push \u003cdomain\u003e` | Tag and push an image to deploy |\n| `gordon routes list` | List all routes |\n| `gordon routes add \u003cdomain\u003e \u003cimage\u003e` | Create or update a route |\n| `gordon routes remove \u003cdomain\u003e` | Remove a route |\n| `gordon routes deploy \u003cdomain\u003e` | Redeploy a route |\n| `gordon rollback \u003cdomain\u003e` | Roll back to a previous image |\n| `gordon restart \u003cdomain\u003e` | Restart a route container |\n\n### Images \u0026 Registry\n\n| Command | Description |\n|---------|-------------|\n| `gordon images list` | List runtime and registry images |\n| `gordon images prune` | Clean up dangling images and old tags |\n| `gordon images tags \u003crepo\u003e` | List registry tags for a repository |\n\n### Secrets \u0026 Config\n\n| Command | Description |\n|---------|-------------|\n| `gordon secrets list \u003cdomain\u003e` | List secrets for a route |\n| `gordon secrets set \u003cdomain\u003e KEY=VAL` | Set secrets |\n| `gordon secrets remove \u003cdomain\u003e \u003ckey\u003e` | Remove a secret |\n\n### Remotes \u0026 Auth\n\n| Command | Description |\n|---------|-------------|\n| `gordon remotes list` | List remote Gordon endpoints |\n| `gordon remotes add \u003cname\u003e \u003curl\u003e` | Add a remote |\n| `gordon remotes use \u003cname\u003e` | Set the active remote |\n| `gordon auth login` | Authenticate to a remote |\n| `gordon auth token generate` | Generate a JWT token |\n\n## Features\n\n- Private Docker registry on your VPS\n- Domain-to-container routing via HTTP reverse proxy\n- Automatic deployment on image push\n- Auto-routing from image labels\n- Remote CLI management\n- Zero downtime updates\n- Persistent volumes from Dockerfile VOLUME directives\n- Environment variable management with secrets support\n- Network isolation per application\n- Single binary, ~15MB RAM\n\n\u003e [!WARNING]\n\u003e Gordon does not handle TLS termination. Place it behind Cloudflare Proxy or any upstream reverse proxy that manages HTTPS certificates.\n\n## Documentation\n\nFull documentation at **[gordon.bnema.dev](https://gordon.bnema.dev)**\n\n- [Docs](https://gordon.bnema.dev/docs) — Installation, configuration, CLI reference\n- [Wiki](https://gordon.bnema.dev/wiki) — Tutorials, guides, and examples\n\n## Community\n\n- [Report bugs](https://github.com/bnema/gordon/issues)\n- [Discussions](https://github.com/bnema/gordon/discussions)\n- [Submit PRs](https://github.com/bnema/gordon/pulls)\n\n## License\n\nGPL-3.0 — Use freely, contribute back.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbnema%2Fgordon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbnema%2Fgordon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbnema%2Fgordon/lists"}