mirror of
https://github.com/restic/rest-server.git
synced 2025-12-06 17:15:45 -08:00
Allow the $OPTIONS env var when using docker image
Example: docker run -e OPTIONS="--append-only" restic/rest-server
This commit is contained in:
committed by
Zlatko Čalušić
parent
67583ff459
commit
65a41ff4e3
@@ -18,4 +18,4 @@ else
|
||||
rm -f $PASSWORD_FILE
|
||||
fi
|
||||
|
||||
rest-server --listen ":80" --path $DATA_DIRECTORY
|
||||
rest-server --listen ":80" $OPTIONS --path $DATA_DIRECTORY
|
||||
|
||||
Reference in New Issue
Block a user