run service with port 9091
This commit is contained in:
parent
6bd76f97d6
commit
6e93b6ba23
@ -4,10 +4,10 @@ RUN apk --update add ca-certificates \
|
|||||||
curl
|
curl
|
||||||
|
|
||||||
HEALTHCHECK --start-period=2s --interval=5s --timeout=3s \
|
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
|
VOLUME /srv
|
||||||
EXPOSE 80
|
EXPOSE 9091
|
||||||
|
|
||||||
COPY .docker.json /.filebrowser.json
|
COPY .docker.json /.filebrowser.json
|
||||||
COPY filebrowser /filebrowser
|
COPY filebrowser /filebrowser
|
||||||
|
|||||||
2
run.sh
2
run.sh
@ -5,4 +5,4 @@ chmod 777 filebrowser
|
|||||||
./filebrowser config init
|
./filebrowser config init
|
||||||
./filebrowser config set --auth.method=noauth
|
./filebrowser config set --auth.method=noauth
|
||||||
./filebrowser users add admin ${PASSWORD}
|
./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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user