DE 

//Cloudogu EcoSystem Docs

Note: This file has been automatically translated!

Configuration of Portainer

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:

Portainer admin group

  • Configuration key path: admin_group
  • Content: The group set there has admin permissions in Portainer (Admin).
  • Data type: String
  • Default: portainer_admins.

Portainer user group

  • Configuration key path: user_group
  • Content: The group set there has normal user permissions in Portainer (User)
  • Data type: String
  • Default: portainer_users

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: endpoint_configuration
  • Content: Describes a set of Portainer agents to be registered with Portainer at start time.
  • Data type: String (JSON).
  • JSON format:

    [
    {
    "Name":"NAME",
    "EndpointURL":"ENDPOINTADDRESS:PORT",
    "EndpointType": "AGENT"
    },
    {
    "Name":"ExampleAgent",
    "EndpointURL":"123.23.3.1:9001",
    "EndpointType": "AGENT"
    },
    {
    "Name":"ExampleEndpoint",
    "EndpointURL":"123.23.3.1:2375",
    "EndpointType": "API"
    },
    {
    "Name":"ExampleEndpointWithTls",
    "EndpointURL":"123.23.3.1:2375",
    "EndpointType": "API",
    "TLS": "true"
    }
    ]

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