From 872e658606f4d2a134f7d3b48966e72bdcb98679 Mon Sep 17 00:00:00 2001 From: Daniele Viti Date: Wed, 13 Sep 2023 15:15:42 +0200 Subject: [PATCH] fixed config position --- Dockerfile | 8 ++++---- settings/fb-settings.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index a55bec8..2261f52 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,9 +11,9 @@ RUN fdroid init -v RUN fdroid update # serve the /repo directory using Filebrowser and NGINX 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 -COPY settings/fb-settings.json /usr/local/.fbconfig/settings.json -COPY settings/fb-users.json /usr/local/.fbconfig/users.json +COPY ./settings/fb-settings.json /usr/local/.fbconfig/settings.json +COPY ./settings/fb-users.json /usr/local/.fbconfig/users.json ENTRYPOINT [] -CMD ["bash", "-c", "nginx && /usr/local/bin/filebrowser --config /config/settings.json"] \ No newline at end of file +CMD ["bash", "-c", "nginx && /usr/local/bin/filebrowser --config /usr/local/.fbconfig/settings.json"] \ No newline at end of file diff --git a/settings/fb-settings.json b/settings/fb-settings.json index f02ee46..04727c0 100644 --- a/settings/fb-settings.json +++ b/settings/fb-settings.json @@ -3,7 +3,7 @@ "baseURL": "", "address": "0.0.0.0", "log": "stdout", - "database": "/database/filebrowser.db", + "database": "/usr/local/.fbconfig/filebrowser.db", "root": "/fdroid/repo", "auth": { "method": "json",