The services
field describes the different runtimes in your web application stack. The field accepts a map
-like structure that describes each service, like so:
services:foo:port: {port}image: {image_link}path: {path}build:- {command}- {command}serve:- {command}bar:ports:- name: {port_name}port: 5555- name: {port_name}port: 5554runtime: {language_name}path: {path}do-not-expose: truebuild:- {command}- {command}serve:- {command}environment:{KEY_1}:{value_1}{KEY_2}:{value_2}
Field | Description | Default Value |
| Describes the port that the given service is running on. This port must be unique for each service. | Required |
| Describes the runtime that the service depends on (essentially a container). A list of these runtimes are provided during onboarding. If the | Either |
| Describes a custom docker image that can be pulled from a public container registry. If the | Either |
| A list of commands used to describe the | Required |
| A list of commands used to describe the | Required |
| A directive that tells Reploy not to expose this service on a link. This also disables any health check on the service. |
|
| A directive used for overriding the default / route for checking the health of a service and outputing its success status. |
|
| A map of environment variables used to describe the environment variables for the given service. |
|