update code for local use

This commit is contained in:
snegov committed 2019-04-14 12:34:16 +03:00
1 parent 4d09cbf5a7
commit 7206f51702
2 files changed
+5 -2

No files matched your search

+4 -2
View File
@@ -1,8 +1,8 @@
version: '2'
version: '3'
services:
seafile-client:
restart: always
image: gronis:seafile-client-docker
build: .
container_name: seafile-client
environment:
- LIBRARY_ID=<your-library-id-here>
@@ -11,5 +11,7 @@ services:
- USERNAME=<username>
- PASSWORD=<password>
- DATA_DIR=<directory-path-to-sync>
- SEAFILE_UID=<your_uid>
- SEAFILE_GID=<your_gid>
volumes:
- <host-volume-path>:<directory-path-to-sync>
+1
View File
@@ -3,6 +3,7 @@
set -e
set -u
set -o pipefail
set -x
DATA_DIR="${DATA_DIR:-/data}"
SEAFILE_UID="${SEAFILE_UID:-1000}"