openrail add
Add a service: a database, a GitHub repo, a Docker image or an empty service.
Usage
openrail add -d postgres|mysql|redis|mongo
openrail add --repo owner/name
openrail add --image nginx:1.27
openrail add --empty NAMEFlags
| Flag | Meaning |
|---|---|
-d, --database | Add a database from its template |
--repo owner/name | Add a service built from a GitHub repo |
--image IMAGE | Add a service that runs a Docker image |
--empty NAME | Add an empty service to configure later |
-v KEY=VALUE | Set variables on the new service |
Examples
openrail add -d postgres
openrail add --image traefik/whoami -v PORT=80Railway equivalent
railway add works the same way through the railway alias.
Every command also accepts the global options.