feat: add docker defaults

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
Henrique Dias 2019-01-08 12:27:44 +00:00
parent 81a4871b15
commit 8c21b7666b
2 changed files with 10 additions and 1 deletions

8
.filebrowser.docker.json Normal file
View File

@ -0,0 +1,8 @@
{
"port": 80,
"baseURL": "",
"address": "",
"log": "stdout",
"database": "/etc/filebrowser/database.db",
"root": "/srv"
}

View File

@ -6,6 +6,7 @@ VOLUME /tmp
VOLUME /srv
EXPOSE 80
COPY .filebrowser.docker.json /etc/filebrowser/.filebrowser.json
COPY filebrowser /filebrowser
ENTRYPOINT [ "/filebrowser"]
ENTRYPOINT [ "/filebrowser" ]