docs: Default folder

This commit is contained in:
Kroese 2023-12-17 09:37:36 +01:00 committed by GitHub
parent 932c23afba
commit 150c450bf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ services:
ports: ports:
- 5000:5000 - 5000:5000
volumes: volumes:
- /opt/dsm:/storage - /var/dsm:/storage
restart: on-failure restart: on-failure
stop_grace_period: 2m stop_grace_period: 2m
``` ```
@ -65,14 +65,14 @@ docker run -it --rm -p 5000:5000 --device=/dev/kvm --cap-add NET_ADMIN --stop-ti
* ### How do I change the location of the virtual disk? * ### How do I change the location of the virtual disk?
To change the virtual disk's location from the default Docker volume, include the following bind mount in your compose file: To change the location of the virtual disk, include the following bind mount in your compose file:
```yaml ```yaml
volumes: volumes:
- /home/user/data:/storage - /var/dsm:/storage
``` ```
Replace the example path `/home/user/data` with the desired storage folder. Replace the example path `/var/dsm` with the desired storage folder.
* ### How do I add multiple disks? * ### How do I add multiple disks?