Browse Source

webdav: adds to docker file

pull/1778/head
Chris Lu 4 years ago
parent
commit
9c56b46886
  1. 2
      docker/Dockerfile
  2. 2
      docker/Dockerfile.go_build
  3. 2
      docker/Dockerfile.go_build_large
  4. 2
      docker/Dockerfile.local
  5. 9
      docker/seaweedfs-compose.yml
  6. 9
      docker/seaweedfs-dev-compose.yml

2
docker/Dockerfile

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

2
docker/Dockerfile.go_build

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

2
docker/Dockerfile.go_build_large

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

2
docker/Dockerfile.local

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

9
docker/seaweedfs-compose.yml

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

9
docker/seaweedfs-dev-compose.yml

@ -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
Loading…
Cancel
Save