mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-15 03:49:20 +02:00
Merge pull request #2749 from alexbelgium/copilot/immich-local-disk-setup
docs(immich): add instructions for using local disk as data storage
This commit is contained in:
@@ -87,6 +87,20 @@ This addon supports mounting both local drives and remote SMB shares:
|
||||
- **Local drives**: See [Mounting Local Drives in Addons](https://github.com/alexbelgium/hassio-addons/wiki/Mounting-Local-Drives-in-Addons)
|
||||
- **Remote shares**: See [Mounting Remote Shares in Addons](https://github.com/alexbelgium/hassio-addons/wiki/Mounting-remote-shares-in-Addons)
|
||||
|
||||
#### Using a Local Disk for Immich Storage
|
||||
|
||||
To save Immich data to a mounted local disk:
|
||||
|
||||
1. Set the `localdisks` option to your drive name (e.g., `sda1`). The drive will be mounted at `/mnt/sda1`.
|
||||
2. Set the `data_location` option to a path on the mounted drive, for example `/mnt/sda1/immich`.
|
||||
|
||||
Example configuration:
|
||||
|
||||
```yaml
|
||||
localdisks: "sda1"
|
||||
data_location: "/mnt/sda1/immich"
|
||||
```
|
||||
|
||||
### Custom Scripts and Environment Variables
|
||||
|
||||
This addon supports custom scripts and environment variables through the `addon_config` mapping:
|
||||
|
||||
@@ -97,6 +97,20 @@ This addon supports mounting both local drives and remote SMB shares:
|
||||
- **Local drives**: See [Mounting Local Drives in Addons](https://github.com/alexbelgium/hassio-addons/wiki/Mounting-Local-Drives-in-Addons)
|
||||
- **Remote shares**: See [Mounting Remote Shares in Addons](https://github.com/alexbelgium/hassio-addons/wiki/Mounting-remote-shares-in-Addons)
|
||||
|
||||
#### Using a Local Disk for Immich Storage
|
||||
|
||||
To save Immich data to a mounted local disk:
|
||||
|
||||
1. Set the `localdisks` option to your drive name (e.g., `sda1`). The drive will be mounted at `/mnt/sda1`.
|
||||
2. Set the `data_location` option to a path on the mounted drive, for example `/mnt/sda1/immich`.
|
||||
|
||||
Example configuration:
|
||||
|
||||
```yaml
|
||||
localdisks: "sda1"
|
||||
data_location: "/mnt/sda1/immich"
|
||||
```
|
||||
|
||||
### Custom Scripts and Environment Variables
|
||||
|
||||
This addon supports custom scripts and environment variables through the `addon_config` mapping:
|
||||
|
||||
@@ -101,6 +101,20 @@ This addon supports mounting both local drives and remote SMB shares:
|
||||
- **Local drives**: See [Mounting Local Drives in Addons](https://github.com/alexbelgium/hassio-addons/wiki/Mounting-Local-Drives-in-Addons)
|
||||
- **Remote shares**: See [Mounting Remote Shares in Addons](https://github.com/alexbelgium/hassio-addons/wiki/Mounting-remote-shares-in-Addons)
|
||||
|
||||
#### Using a Local Disk for Immich Storage
|
||||
|
||||
To save Immich data to a mounted local disk:
|
||||
|
||||
1. Set the `localdisks` option to your drive name (e.g., `sda1`). The drive will be mounted at `/mnt/sda1`.
|
||||
2. Set the `data_location` option to a path on the mounted drive, for example `/mnt/sda1/immich`.
|
||||
|
||||
Example configuration:
|
||||
|
||||
```yaml
|
||||
localdisks: "sda1"
|
||||
data_location: "/mnt/sda1/immich"
|
||||
```
|
||||
|
||||
### Custom Scripts and Environment Variables
|
||||
|
||||
This addon supports custom scripts and environment variables through the `addon_config` mapping:
|
||||
|
||||
@@ -98,6 +98,20 @@ This addon supports mounting both local drives and remote SMB shares:
|
||||
- **Local drives**: See [Mounting Local Drives in Addons](https://github.com/alexbelgium/hassio-addons/wiki/Mounting-Local-Drives-in-Addons)
|
||||
- **Remote shares**: See [Mounting Remote Shares in Addons](https://github.com/alexbelgium/hassio-addons/wiki/Mounting-remote-shares-in-Addons)
|
||||
|
||||
#### Using a Local Disk for Immich Storage
|
||||
|
||||
To save Immich data to a mounted local disk:
|
||||
|
||||
1. Set the `localdisks` option to your drive name (e.g., `sda1`). The drive will be mounted at `/mnt/sda1`.
|
||||
2. Set the `data_location` option to a path on the mounted drive, for example `/mnt/sda1/immich`.
|
||||
|
||||
Example configuration:
|
||||
|
||||
```yaml
|
||||
localdisks: "sda1"
|
||||
data_location: "/mnt/sda1/immich"
|
||||
```
|
||||
|
||||
### Custom Scripts and Environment Variables
|
||||
|
||||
This addon supports custom scripts and environment variables through the `addon_config` mapping:
|
||||
|
||||
Reference in New Issue
Block a user