| title | Configuration |
|---|---|
| description | Learn how to configure the Lando Ruby service. |
Here are the configuration options, set to the default values, for this service. If you are unsure about where this goes or what this means, we highly recommend scanning the services documentation to get a good handle on how the magicks work.
Also note that the options, in addition to the build steps and overrides that are available to every service, are shown below:
services:
myservice:
type: ruby:4.0
port: 80
command: tail -f /dev/nullNote that if you do not define a command for this service, it will effectively be a "cli" container (e.g. it will not serve or run an application by default but will be available to run ruby commands against).
If you want to actually launch a ruby application, consider setting the command to something as shown below:
services:
myservice:
type: ruby
command: ruby /app/my-server.rbWhile we assume your ruby service is running on port 80, we recognize that many ruby apps also run on port 8080 or otherwise. You can easily change our default to match whatever your app needs.
services:
myservice:
type: ruby
port: 8080By default a service will not do any tooling routing for you but you can add helpful lando commands.
tooling:
donet:
service: myserviceYou can then invoke them on the command line.
lando dotnetLando tooling is actually pretty powerful so definitely check out the rest of its cool features.
By default a service will not do any proxy routing for you but you can add your own.
proxy:
myservice:
- myapp.lndo.site
- something.else.localLando proxying is actually pretty powerful so definitely check out the rest of its cool features.