Spaceops Configuration
This documentation page provides a reference for the configuration file of the Spaceops Agent Docker.
Full agent configuration file example
Configuration file fields
applications
The applications field is a list of applications that the agent will manage. Each application has the following fields:
name
: The name of the application. The name must be unique.image
: The image of the application. The image must be accessible by the agent (docker client).tag
: The tag of the image. The tag is used to specify the version of the image.env
: The environment variables of the application. The environment variables are used to configure the application.ports
: The ports of the application. The ports are used to expose the application to the outside world.restartPolicy
: The restart policy of the application. The restart policy is used to specify the behavior of the application when it exits.status
: The status of the application. The status is used to enable or disable the application.command
: The command of the application. The command is used to specify the command that the application will run. If not specified, the default command of the image will be used.