Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
omv6:omv6_plugins:docker_compose [2023/12/22 15:10] – [Schedule] chente | omv6:omv6_plugins:docker_compose [2023/12/28 10:15] – [Data] chente | ||
---|---|---|---|
Line 64: | Line 64: | ||
{{ : | {{ : | ||
\\ | \\ | ||
+ | * If you are configuring the plugin for the first time you can configure all the parameters and then press the **Save** button and accept the changes. If you are simply modifying a parameter do so and press the **Save** button below. | ||
+ | * Since the openmediavault-sharerootfs plugin is a dependency of the openmediavault-compose plugin, you can create the different shared folders in the root of the OMV system disk if necessary. | ||
+ | \\ | ||
=== Compose Files === | === Compose Files === | ||
Line 74: | Line 76: | ||
* Since the openmediavault-sharerootfs plugin is a dependency of the openmediavault-compose plugin, you can create this folder in the root of the OMV system disk if you need to do so. | * Since the openmediavault-sharerootfs plugin is a dependency of the openmediavault-compose plugin, you can create this folder in the root of the OMV system disk if you need to do so. | ||
* By default these folders and files will be created with permissions restricted to root only. If you need to customize these permissions you can do so through the rest of the available fields. These permissions will not affect subfolders belonging to volumes with relative paths. | * By default these folders and files will be created with permissions restricted to root only. If you need to customize these permissions you can do so through the rest of the available fields. These permissions will not affect subfolders belonging to volumes with relative paths. | ||
- | * Click **Save** button. | + | * Click the **Save** button |
---- | ---- | ||
Line 82: | Line 84: | ||
* In this field we can define a folder already created where we have the user data. | * In this field we can define a folder already created where we have the user data. | ||
* The plugin will use this path if we use the CHANGE_TO_COMPOSE_DATA_PATH string in any compose file. This behavior is similar to that of a global environment variable. | * The plugin will use this path if we use the CHANGE_TO_COMPOSE_DATA_PATH string in any compose file. This behavior is similar to that of a global environment variable. | ||
+ | * To define this folder do the following: | ||
+ | * In the **Shared Folder** field select a shared folder. | ||
+ | * You can choose a shared folder if you have already created it or create it directly by pressing the “+” button on the right. | ||
+ | * Click the **Save** button if you have already finished configuring the parameters in this tab. | ||
---- | ---- | ||
Line 95: | Line 101: | ||
* Volumes of type '': | * Volumes of type '': | ||
* Typing ''# | * Typing ''# | ||
+ | * Click the **Save** button if you have already finished configuring the parameters in this tab. | ||
---- | ---- | ||
Line 103: | Line 110: | ||
* If you are using nvidia drivers in your docker containers (e.g. for Plex or Jellyfin hardware transcoding) you have to leave the path blank. If not, the nvidia driver settings are getting corrupted each time you reconfigure the OMV settings. You can see more details in the [[https:// | * If you are using nvidia drivers in your docker containers (e.g. for Plex or Jellyfin hardware transcoding) you have to leave the path blank. If not, the nvidia driver settings are getting corrupted each time you reconfigure the OMV settings. You can see more details in the [[https:// | ||
- | * In the **Docker Storage** field define the path of the folder you want to use to install Docker. | + | * In the **Docker Storage** field define the path of the folder you want to use to install Docker |
* Avoid using symlinks in this field. | * Avoid using symlinks in this field. | ||
- | * Click **Reinstall Docker** button. Docker is now installed in the new path. | + | * Click **Reinstall Docker** button. |
< | < | ||
Line 613: | Line 620: | ||
{{ : | {{ : | ||
- | This tab manages the utility that allows you to perform plugin backups and/or container image updates. Displays a list of scheduled | + | This tab manages the utility that allows you to perform plugin backups and/or container image updates. Displays a list of scheduled jobs. |
By default, backups will be created of all the subfolders that contain the generated compose files. These subfolders are what the plugin generates every time we create a compose file in the GUI. | By default, backups will be created of all the subfolders that contain the generated compose files. These subfolders are what the plugin generates every time we create a compose file in the GUI. | ||
Line 630: | Line 637: | ||
* If you want to have several versioned backups over time, you must make a copy later with another specialized application for this purpose. | * If you want to have several versioned backups over time, you must make a copy later with another specialized application for this purpose. | ||
* The containers that were running when the process started are started again. Those who were detained will continue to be detained. | * The containers that were running when the process started are started again. Those who were detained will continue to be detained. | ||
+ | The update task performs the following process: | ||
+ | * Download the container images included in the compose file. | ||
+ | * Recreate the containers with the new image if they were running. | ||
\\ | \\ | ||
< | < | ||
Line 651: | Line 661: | ||
* You can add multiple filters separated by commas. | * You can add multiple filters separated by commas. | ||
* **Action Type** | * **Action Type** | ||
- | * Backup: If checked, a backup task will be executed. | + | * Backup: If enabled, a backup task will be executed. |
- | * Update: If checked, an update task will be executed for the selected containers. If the backup task is also checked, the backup will be performed first and then the update. Will recreate containers after update if running. | + | * Update: If enabled, an update task will be executed for the selected containers. If the backup task is also checked, the backup will be performed first and then the update. Will recreate containers after update if running. |
+ | * Prune: If enabled, prune all dangling images. It does not use a filter, so all existing dangling images will be removed. Will run the '' | ||
* **Schedule** | * **Schedule** | ||
* Schedule the time of execution using the date and time options. | * Schedule the time of execution using the date and time options. |