Feature Update with Graft π
V2.5 Highlights:
- Service Scaling: Scale any service to N replicas with
graft scale <service> <n>β Traefik automatically load balances across them. Scale persists through deploys. - PSQL Passthrough: Full psql passthrough with env-aware auto-connect. Supports all native psql flags (
-c,-f,-t, etc.). - Isolated DB Credentials (Security):
graft db <name> initnow creates a dedicated Postgres user and password per database. Each project gets scoped credentials β admin credentials never leak to project secrets. - Per-Environment Database Linking: Database name stored per environment in project metadata.
graft psqlauto-connects to the correct database for the current env. - Unified DB Init Across Scopes: Initialize databases from project scope (
graft db), host scope (graft host db), or registry scope (graft -r <registry> db). All paths prompt to link to an environment with overwrite protection. - SSH Database Tunnel:
graft db <name> serve [:port]tunnels remote Postgres to localhost via SSH β connect with pgAdmin, DBeaver, or your local app. No public port exposure needed. - Generic Service Tunnel:
graft host tunnel <container> [:port]tunnels any Docker container to localhost. Auto-detects exposed ports. Works with any protocol β HTTP, Postgres, Redis, gRPC. - Environment Listing:
graft env lslists all environments with their registry, domain, and deployment mode. - Bug Fixes and Improvements
V2 Series Highlights (v2.0 - v2.4):
- Rollback Feature: Revert to previous deployments with
graft rollbackorgraft rollback service <name>. - Multi Environment Support: Manage multiple deployment environments with separate configs, workflows, and DNS.
- Webhook Mapping: Map webhook domains to servers using Graft.
- Git Remote Modes: Deployments through GitHub Workflows and CI/CD channels.
- Graft-Hook: Webhook service for Graft-based servers.
- Automated GitHub Workflows: Auto-generate workflows from
graft-compose.yml. - Cloudflare Integration: Automated DNS zone mapping and zone management.
- Database Backup Automation: Infrastructure database backups to S3/R2 (Experimental).
- Docker Passthrough Commands: Execute docker commands on remote hosts or specific registries via Graft.
- Default Graft SSH Key: Manage SSH keys with
graft puband rotate withgraft pub rollout.
Changelog
- c44b0ac Windows connection bug fix
Released by skssmd using GoReleaser.