Save seafile-data info in volume

This commit is contained in:
2021-02-28 23:27:26 +03:00
parent 4dcac70520
commit 310eb9028c
3 changed files with 11 additions and 0 deletions

View File

@@ -19,7 +19,11 @@ services:
- SEAFILE_UID=<your_uid>
- SEAFILE_GID=<your_gid>
volumes:
- seafile-data:/seafile-client/seafile-data
- <host-volume-path>:/data
volumes:
seafile-data:
```
Inside container libraries' content will be put in `/data` directory, so map your host directory to it.