Skip to main content
Skip table of contents

Adapting Docker Container Configuration

The administration application allows you to change the configuration of a Docker container. You have two options to open the configuration of a container:

  • Use action Edit configuration from the quick actions bar in the services' list:

service_list_docker_config.png
  • Open the details page of the service and scroll down to section Configuration:

docker_details.png

Adapting the Configuration of Service Type pas-service

If you use the quick action Edit configuration for a service of type pas-service, a JSON editor opens in a separate pop-up:

config_popup.png

Option Save is only enabled, when the content within teh editor has been changed.

You can also find the JSON editor on the details page of a Docker container. Scroll down and open section Configuration to access the editor:

docker_config.png

Do not edit content in the Configuration section without any knowledge of JSON.

The editor supports you to insert valid JSON:

json_editor.png

Icon

Description

format_json_icon.png

Click this button to format your input with proper intendation and line feeds (default).

compact_json_icon.png

Click this button to remove all whitespaces and show compact JSON data.

json_editor_undo_icon.png

Click this button to undo your last action in the editor.

json_editor_redo_icon.png

Click this button to redo your last action in the editor.

Click Save to apply your changes.

Some pas-services require a restart after changes to the configuration file. This is indicated in the toast message at the bottom of the administration window:

docker_toast_configuration_changed.png

Adapting the Configuration of Service Type pas-nestjs

For services of type pas-nestjs (= internal services of the PAS platform) developers can define a service-specific schema and documentation. If a schema is available, the display in section Configuration will change and show the defined configuration options.

Be careful: Changing these options may result in an unusable service and may affect other parts of the platform as well.

The main configuration options are displayed. You can also use the links in the Configuration tree on the left side to navigate. Click one of the objects to open further details:

nestjs_configuration_main.png

Each page indicates the Type of the object and - if the developer of the service has provided it - a Description. Nested configuration options like complex data objects or groups are displayed as link. Click a data object to access the object details:

nestjs_configuration_display.png

Or use the input fields to change the configuration:

nestjs_configuration_nested.png

To navigate within the configuration, use the links in the sidebar or the breadcrump navigation on top:

nestjs_configuration_navigation.png

Use option Add to create a new data object:

nestjs_configuration_add.png

Or open an existing one to access the configuration details:

nestjs_configuration_open.png

Use Delete to remove a configuration option:

nestjs_configuration_delete.png

Not all entries can be deleted. In this case, option Delete is grayed out. This also applies to option Add.

The number of edited fields is displayed on top right. If you have finished your changes, Save them:

nestjs_configuration_save.png

A summary of your changes is displayed. Click Save to apply them. Click Cancel to close the summary. Your changes are available until you leave the service details or reload the page:

nestjs_configuration_summary.png
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.