Skip to content

Spaceops Configuration

This documentation page provides a reference for the configuration file of the Spaceops Agent Docker.

Full agent configuration file example

applications:
- name: daulphine
image: rg.fr-par.scw.cloud/pe-arcturus/webapp/daulphine
tag: 1.5.2
ports:
- 8081:80
restartPolicy:
name: always
status: disabled
- name: spaceops
image: rg.fr-par.scw.cloud/pe-arcturus/spaceops
tag: 0.0.1
env:
- POSTGRESQL_PASSWORD=qwertz
ports:
- 8082:80
restartPolicy:
name: always
- name: spaceops-pg
image: docker.io/bitnami/postgresql
tag: 16.3.0-debian-12-r19
command: ["postgres", "-c", "max_connections=300"]
ports:
- 5432:5432
restartPolicy:
name: always

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.