Repository navigation
v0.6.7
New
- Stacks: a
serve-compose.ymllists 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.envnext 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.ymlwith 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
b3234daAdd stacks: serve-compose.yml plan, apply and ordered deployc63fb5eFind a git login with access when none is namedf919094CLI: serve compose up, down, ps and config575aa7cDashboard: Stack card and the stack on service headers7b74157Export an environment as a serve-compose.yml3fc2b91Stacks: fixes from the security review333a000Stacks: close what the re-review found788dd2cStacks: paths with ${VAR} and the last HTTP option gaps
Compare: v0.6.6 → v0.6.7