run service with port 9091

This commit is contained in:
Osmany Montero 2021-06-03 22:14:49 +03:00
parent 6bd76f97d6
commit 6e93b6ba23
2 changed files with 3 additions and 3 deletions

View File

@ -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

2
run.sh
View File

@ -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