webdav: adds to docker file

This commit is contained in:
Chris Lu 2021-01-31 22:57:30 -08:00
parent d67ccb66c0
commit 9c56b46886
6 changed files with 26 additions and 0 deletions

View file

@ -37,6 +37,8 @@ EXPOSE 19333
EXPOSE 9333 EXPOSE 9333
# s3 server http port # s3 server http port
EXPOSE 8333 EXPOSE 8333
# webdav server http port
EXPOSE 7333
RUN mkdir -p /data/filerldb2 RUN mkdir -p /data/filerldb2

View file

@ -30,6 +30,8 @@ EXPOSE 19333
EXPOSE 9333 EXPOSE 9333
# s3 server http port # s3 server http port
EXPOSE 8333 EXPOSE 8333
# webdav server http port
EXPOSE 7333
RUN mkdir -p /data/filerldb2 RUN mkdir -p /data/filerldb2

View file

@ -30,6 +30,8 @@ EXPOSE 19333
EXPOSE 9333 EXPOSE 9333
# s3 server http port # s3 server http port
EXPOSE 8333 EXPOSE 8333
# webdav server http port
EXPOSE 7333
RUN mkdir -p /data/filerldb2 RUN mkdir -p /data/filerldb2

View file

@ -20,6 +20,8 @@ EXPOSE 19333
EXPOSE 9333 EXPOSE 9333
# s3 server http port # s3 server http port
EXPOSE 8333 EXPOSE 8333
# webdav server http port
EXPOSE 7333
RUN mkdir -p /data/filerldb2 RUN mkdir -p /data/filerldb2

View file

@ -48,6 +48,15 @@ services:
- master - master
- volume - volume
- filer - filer
webdav:
image: chrislusf/seaweedfs # use a remote image
ports:
- 7333:7333
command: 'webdav -filer="filer:8888"'
depends_on:
- master
- volume
- filer
prometheus: prometheus:
image: prom/prometheus:v2.21.0 image: prom/prometheus:v2.21.0
ports: ports:

View file

@ -33,3 +33,12 @@ services:
- master - master
- volume - volume
- filer - filer
webdav:
image: chrislusf/seaweedfs:dev # use a remote dev image
ports:
- 7333:7333
command: 'webdav -filer="filer:8888"'
depends_on:
- master
- volume
- filer