Skip to content

v0.13.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 09:18
· 11 commits to main since this release
  • Several projects on one Coolify or Dokploy server. compose.yaml no
    longer publishes host ports for the proxy service, so a second project
    on the same server no longer fails with port is already allocated.
    Coolify and Dokploy reach the proxy over the Docker network, on port 80.
    The ports are in the new compose.ports.yaml, which a server of your own
    loads with COMPOSE_FILE=compose.yaml:compose.ports.yaml in .env.
    dstack production asks where the site runs and writes that line for a
    server of your own (--server, the default without a terminal) and
    leaves it out for a platform (--platform). dstack deploy leaves it
    out for Coolify, Dokploy, Railway and Bunny, and adds it for a server
    over SSH. The deploy workflow copies compose.ports.yaml to the server.
    In an existing project, dstack update moves the ports out of
    compose.yaml and writes compose.ports.yaml. Then:
    • On a server of your own, copy compose.ports.yaml to the server and
      add COMPOSE_FILE=compose.yaml:compose.ports.yaml to its .env
      (shared/.env for a server set up with dstack deploy), or the site
      is not reachable after the next deploy.
    • On Coolify or Dokploy, remove HTTP_PORT and HTTPS_PORT from the
      application's environment variables.

Improvements

  • dstack deploy setup and dstack deploy login remember the last
    address of each platform, such as your Coolify, and offer it again, so you
    press Enter instead of typing it for every project. It is saved in
    ~/.config/dstack/targets.json.