Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| omv8:omv8_plugins:docker_compose [2025/12/21 18:24] – chente | omv8:omv8_plugins:docker_compose [2026/01/11 09:06] (current) – [Usage in compose files] chente | ||
|---|---|---|---|
| Line 710: | Line 710: | ||
| ---- | ---- | ||
| - | ==== Usage in compose files ==== | + | ==== Usage in Compose Files ==== |
| Docker configs managed in this tab can be referenced inside compose files using the standard Docker Compose syntax. | Docker configs managed in this tab can be referenced inside compose files using the standard Docker Compose syntax. | ||
| Line 716: | Line 716: | ||
| This allows configuration files to be mounted into containers at runtime without hardcoding their contents directly in the compose file. | This allows configuration files to be mounted into containers at runtime without hardcoding their contents directly in the compose file. | ||
| - | This functionality | + | **Workflow: |
| + | |||
| + | * A config file is always associated | ||
| + | * When you create or import a config in the GUI, it is stored in the same folder as the Compose file. | ||
| + | * In your Compose file, you can reference the config using its filename only, no absolute path needed. | ||
| + | * This allows you to keep all container configuration | ||
| + | |||
| + | **Example: | ||
| + | |||
| + | * You create mosquitto.conf in the Configs tab and associate it with docker-compose.yml. | ||
| + | * The plugin stores mosquitto.conf in the same folder as the compose file. | ||
| + | * In docker-compose.yml, | ||
| + | |||
| + | < | ||
| + | services: | ||
| + | mosquitto: | ||
| + | image: eclipse-mosquitto | ||
| + | volumes: | ||
| + | - .mosquitto.conf:/ | ||
| + | |||
| + | </ | ||
| + | |||
| + | **Key points:** | ||
| + | |||
| + | * Configs cannot be created outside the compose folder. | ||
| + | * This workflow saves CLI steps and keeps configuration files organized and easy to find. | ||
| + | * Recommended for users who want to manage container configs without hardcoding paths or moving files manually. | ||
| ---- | ---- | ||
| Line 994: | Line 1020: | ||
| * **Aux Address** | * **Aux Address** | ||
| * Optional static IP assignments in the format `name=ip`. | * Optional static IP assignments in the format `name=ip`. | ||
| - | | + | * Comma separate multiple entries (e.g., `my-router=192.168.10.5, |
| * **Save** | * **Save** | ||
| * Creates the network with the defined parameters. | * Creates the network with the defined parameters. | ||
| Line 1191: | Line 1217: | ||
| {{ : | {{ : | ||
| - | {{ : | + | {{ : |
| By default, backups include all subfolders containing generated compose files. These subfolders are created automatically every time a compose file is generated via the GUI. | By default, backups include all subfolders containing generated compose files. These subfolders are created automatically every time a compose file is generated via the GUI. | ||
| Line 1222: | Line 1248: | ||
| === Create === | === Create === | ||
| - | {{ : | + | {{ : |
| Opens a dialog to schedule container backup and/or update jobs. | Opens a dialog to schedule container backup and/or update jobs. | ||