Configuring the storage page¶
You can add new and delete existing volumes in the Storage
page.
To delete an existing volume, click on the respective garbage can button.
Adding volumes¶
To add a volume, proceed as follows:
-
Click on the plus button. The
Add Volume
window opens. -
Select a volume type from the
Select volume Type
drop-down menu. -
Enter a container volume path in the
Container Volume Path
input field. -
Click on the
Add
button.
NOTICE
Execution of files: The execution of files in the mounted volumes depends on the implementation of the device and is currently not supported. This results in permission being denied, even if permission 'x' is granted on resources.
Volume Types¶
TMPFS¶
To create files outside of the container's writeable layer, select this volume type. A TMPFS mount with its written files is temporary. When the container stops, the TMPFS mount is removed.
During an update of an application, the container will be stopped and started.
Openpipe¶
To communicate with TIA Runtime Project, select this volume type.
Host¶
To share folders with the host, select this volume type. The volume is persistent during stopping of a container. The volume is removed with the removal of the application. You can use this volume to share with other services inside the application.
Internal¶
To share a location with other services in the Edge App, select this volume type. An app level volume is required for this option. The volume is persistent during stopping of an container.
If you refer to this volume from another application as External Volumes on App Level
, this volume can be shared between applications.
The volume is removed with the removal of the application, if no other application is mounting this volume too.
If you want to hide the particular application volumes, then make the volumes as private, so it will not be accesible for then end users.To ensure the app volume configuration remains concealed, use a private naming convention for the volume.
Data Storage¶
To mount an external storage in the host side, select this volume type (only for Siemens Unified Comfort Panels).
Events Service¶
To mount an Edge Device unix domain socket to the application container to subscribe to system events, select this volume type.
If container user, who is going to write to Event Service socket file is not root user, create a user group with id 10000
and add non-root users to the created group.
Default access list is as follows: - root: read-write - 10000: read-write - others: read
Configs¶
To share application configurations on the host system, select this volume type.
Logs¶
To mount logs on the host system, select this volume type. This volume type creates an IED-OS app lifetime-managed host directory and mounts the host directory into the container. Log files that were explicitly created by services/containers of this app persist regardless of container stops and starts.
Auth Service¶
To provide a JSON file containing app credentials (AppID and SecretKey) which are required later to login, select this volume type.
After the app is installed on an Edge Device, go to the given volume path to access the AppID and SecretKey.
By using this AppID, the user can log in and get an authentication token for further API calls.