Skip to content

MongoDB Atlas

databases:
  mgs:
    - name: "test"
      clusterHost: ""
      branch: ""
      privateIP: ""
      dbname: ""

  mgsExt:
    - name: "test"
      clusterHost: ""
      branch: ""
      privateIP: ""
      dbname: ""

livenessProbe:
  httMGet:
    path: /healthcheck
    port: 80
  initialDelaySeconds: 5
  timeoutSeconds: 60

Argument Reference

  • name : (Required) The name of database.

  • clusterHost : (Optional) adresse du cluster

  • privateIP : (Optional) Adresse ip du cluster

  • provider : (Optional) reférence à un project crée par deployer

  • project : (Optional) ID du project GCP

  • dbname : (Optional) nom réel autogénéré de la resource [nomProjet]_[gitBranch]_[name]

Variables générées par Deployer

  • MG_NAME_ : Nom (par exemple MG_NAME_TEST)
  • MG_HOST_ : Host (MG_HOST_TEST)
  • MG_PASS_ : Mot de passe (MG_PASS_TEST)
  • MG_PORT_ : Port (MG_PORT_TEST)
  • GOOGLE_APPLICATION_CREDENTIALS : Path du service account