serve/docker: allow to customize proxy settings of docker plugin

This commit is contained in:
Ivan Andreev
2021-10-03 18:55:35 +03:00
parent 16949fde09
commit bbcc9a45fe
3 changed files with 25 additions and 1 deletions

View File

@@ -26,6 +26,10 @@ ENV RCLONE_CACHE_DIR=/data/cache
ENV RCLONE_BASE_DIR=/mnt
ENV RCLONE_VERBOSE=0
ENV HTTP_PROXY=
ENV HTTPS_PROXY=
ENV NO_PROXY=
WORKDIR /data
ENTRYPOINT ["/usr/local/bin/rclone"]
CMD ["serve", "docker"]

View File

@@ -42,6 +42,21 @@
{
"name": "RCLONE_BASE_DIR",
"value": "/mnt"
},
{
"name": "HTTP_PROXY",
"value": "",
"settable": ["value"]
},
{
"name": "HTTPS_PROXY",
"value": "",
"settable": ["value"]
},
{
"name": "NO_PROXY",
"value": "",
"settable": ["value"]
}
],
"mounts": [