Moving from CapRover.
Your captain-definition becomes a web service. CapRover keeps the rest, so the notes say what to set.
Connect a server
Install the agent. It connects out to the panel.
Import
In the repository, run
yawl import caprover. Read the notes, then run it again with--apply.Set what CapRover kept
Variables with
yawl env set, volumes inyawl.yaml, thenyawl deploy.
{"schemaVersion": 2, "dockerfilePath": "./Dockerfile"}$ yawl import caprover --server hel1 Added caprover (web). Note: caprover: variables, persistent directories and the port are kept in CapRover, not in the file; set the variables with yawl env set, add volumes to yawl.yaml, and change port if the app listens on another. Wrote yawl.yaml. Next: yawl apply.
What becomes what
| Area | CapRover | In Yawl |
|---|---|---|
| App | dockerfilePath: ./Dockerfile | A web service built from the repository, on port 80, CapRover's default. |
imageName | Runs that image. | |
| The app's name | The folder's name. | |
| Not carried | dockerfileLines dockerfilePath | Yawl builds the Dockerfile at the repository's root. Move it there. |
| Variables | Kept in CapRover. Set them with yawl env set. | |
| Persistent directories | Kept in CapRover. Add volumes to yawl.yaml. | |
| The port | Kept in CapRover. Change port if the app listens on another. |