Cloud VM: mount data to /var/lib/docker (#8)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 1m31s

Since Nextcloud AIO manages itself and uses docker volumes, the easiest way to persisty all data in a separate disk is to just mount it to `/var/lib/docker`. This is still an easier long-term solution than managing the entire stack manually - we can always migrate (relatively) easily in the future anyway.

Reviewed-on: #8
This commit is contained in:
2023-09-26 23:24:07 +00:00
parent 68aff49459
commit 21c6b627a8
2 changed files with 1 additions and 8 deletions

View File

@@ -9,7 +9,6 @@ docker run \
--name nextcloud-aio-mastercontainer \
--restart unless-stopped \
--publish 8080:8080 \
--env NEXTCLOUD_DATADIR=/mnt/data/nextcloud \
--env NEXTCLOUD_UPLOAD_LIMIT=16G \
--env NEXTCLOUD_MAX_TIME=7200 \
--env APACHE_PORT=11000 \