mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-11 03:13:16 +00:00
fix(owncloud): give redis a named data volume, as upstream does
This commit is contained in:
1 parent
1cbbf271ce
commit
2831651bd2
2 files changed
+7
-2
No files matched your search
+4
-2
@@ -42,9 +42,11 @@ connection rather than changing the password.
|
||||
| --- | --- | --- |
|
||||
| `owncloud-data` | `/mnt/data` | User files, apps, `config.php` |
|
||||
| `owncloud-mysql-data` | `/var/lib/mysql` | The database |
|
||||
| `owncloud-redis-data` | `/data` | Redis locks and cache |
|
||||
|
||||
Redis has no named volume. It holds only locks and cache, which ownCloud
|
||||
rebuilds after a restart.
|
||||
The Redis volume follows ownCloud's own compose. Its contents are rebuilt
|
||||
after a restart, but the `redis` image declares `/data` a volume, so without a
|
||||
named one Docker creates an anonymous volume on every recreate.
|
||||
|
||||
## Images
|
||||
|
||||
|
||||
Reference in new issue
Block a user