From 6e93b6ba235292371ea1d201cec2b5c6296d79b6 Mon Sep 17 00:00:00 2001 From: Osmany Montero Date: Thu, 3 Jun 2021 22:14:49 +0300 Subject: [PATCH] run service with port 9091 --- Dockerfile | 4 ++-- run.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0edd191b..7d1b4f10 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,10 +4,10 @@ RUN apk --update add ca-certificates \ curl HEALTHCHECK --start-period=2s --interval=5s --timeout=3s \ - CMD curl -f http://localhost/health || exit 1 + CMD curl -f http://localhost:9091/health || exit 1 VOLUME /srv -EXPOSE 80 +EXPOSE 9091 COPY .docker.json /.filebrowser.json COPY filebrowser /filebrowser diff --git a/run.sh b/run.sh index 4c9be246..2f863d11 100755 --- a/run.sh +++ b/run.sh @@ -5,4 +5,4 @@ chmod 777 filebrowser ./filebrowser config init ./filebrowser config set --auth.method=noauth ./filebrowser users add admin ${PASSWORD} -./filebrowser -a 0.0.0.0 -p 80 -b /srv +./filebrowser -a 0.0.0.0 -p 9091 -b /srv