Cloudogu EcoSystem Docs
Software version

Configuration of Portainer

Note: This file has been automatically translated!

Prerequisite

Configuration options

The Portainer dogu is configured via the registry. There are several ways to configure values in the registry. In short you can:

  1. configure a dogu with cesapp edit-config <dogu> (recommended)
  2. update the configuration values using a blueprint
  3. manually adjust the keys with `etcdctl

Configuration

All configuration keys for Portainer settings have the key prefix config/portainer/. Portainer provides the following settings:

Physical memory limit
  • Configuration key path: container_config/memory_limit
  • Content: limits the memory (RAM) of the Docker container for Portainer.
  • Data type: Binary memory specification.
  • Valid values: integer followed by [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte).
  • Example: 1750m = 1750 MebiByte
Physical swap limit
  • Configuration key path: container_config/swap_limit
  • Content: limits Docker container swap for portainer.
  • Data type: Binary memory specification.
  • Valid values: integer followed by [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte).
  • Example: 1750m = 1750 MebiByte
Portainer agents
  • Configuration key path: agent_configuration
  • Content: Describes a set of Portainer agents to be registered with Portainer at start time.
  • Data type: String (JSON).
  • JSON format: ``json [ { }, "name": "NAME" "endpointURL": "ENDPOINTADDRESS:PORT" }, { "name": "ExampleAgent", "EndpointURL":"123.23.3.1:9001" } ]


Translated with www.DeepL.com/Translator (free version)

Last updated on 2/24/2021