fixed config position
This commit is contained in:
@@ -11,9 +11,9 @@ RUN fdroid init -v
|
|||||||
RUN fdroid update
|
RUN fdroid update
|
||||||
# serve the /repo directory using Filebrowser and NGINX
|
# serve the /repo directory using Filebrowser and NGINX
|
||||||
RUN apt-get install -y nginx curl
|
RUN apt-get install -y nginx curl
|
||||||
COPY settings/nginx.conf /etc/nginx/nginx.conf
|
COPY ./settings/nginx.conf /etc/nginx/nginx.conf
|
||||||
RUN curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
|
RUN curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
|
||||||
COPY settings/fb-settings.json /usr/local/.fbconfig/settings.json
|
COPY ./settings/fb-settings.json /usr/local/.fbconfig/settings.json
|
||||||
COPY settings/fb-users.json /usr/local/.fbconfig/users.json
|
COPY ./settings/fb-users.json /usr/local/.fbconfig/users.json
|
||||||
ENTRYPOINT []
|
ENTRYPOINT []
|
||||||
CMD ["bash", "-c", "nginx && /usr/local/bin/filebrowser --config /config/settings.json"]
|
CMD ["bash", "-c", "nginx && /usr/local/bin/filebrowser --config /usr/local/.fbconfig/settings.json"]
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
"baseURL": "",
|
"baseURL": "",
|
||||||
"address": "0.0.0.0",
|
"address": "0.0.0.0",
|
||||||
"log": "stdout",
|
"log": "stdout",
|
||||||
"database": "/database/filebrowser.db",
|
"database": "/usr/local/.fbconfig/filebrowser.db",
|
||||||
"root": "/fdroid/repo",
|
"root": "/fdroid/repo",
|
||||||
"auth": {
|
"auth": {
|
||||||
"method": "json",
|
"method": "json",
|
||||||
|
|||||||
Reference in New Issue
Block a user