Skip to content

v0.6.7

Choose a tag to compare

@github-actions github-actions released this 16 Nov 20:43
· 22 commits to main since this release

New

  • Stacks: a serve-compose.yml lists many services of one environment (apps from git, images or a local folder, databases and compose services) with their variables, env files, domains and settings. Serve creates them and deploys them in order: each service waits for the ones it depends on (depends_on, and the services its ${{ }} links point at).
  • ${VAR} in the file is filled in from your shell or a .env next to it, like docker compose. Only the names the file uses are sent.
  • Running it again changes only what changed. A value edited in the dashboard since stays, unless you force the file's values.
  • If a service fails, the services that need it are skipped, with the reason.
  • The new-service page has a Stack card: paste the file, check what it would do, then create and deploy. A service made by a stack shows the stack's name on its page.
  • Export: an environment's services can be written out as a serve-compose.yml with their env and compose files, to rebuild them in another project or another Serve. Database data is not part of it: restore a backup.
  • API: /environments/{id}/stacks/plan, /stacks/up, /stacks, /stacks/export, DELETE /stacks/{name} and /stack-runs/{id}.

Fixed

  • An app or compose service created from git without naming a login (the API, the CLI, a stack) now tries each of your git logins until one has access. Public repositories get a login too when one can see them, so pushes deploy them. A private repository none of them can reach is refused, naming the logins tried.

Commits

  • b3234da Add stacks: serve-compose.yml plan, apply and ordered deploy
  • c63fb5e Find a git login with access when none is named
  • f919094 CLI: serve compose up, down, ps and config
  • 575aa7c Dashboard: Stack card and the stack on service headers
  • 7b74157 Export an environment as a serve-compose.yml
  • 3fc2b91 Stacks: fixes from the security review
  • 333a000 Stacks: close what the re-review found
  • 788dd2c Stacks: paths with ${VAR} and the last HTTP option gaps

Compare: v0.6.6 → v0.6.7