fix docker to work with master grpc port

This commit is contained in:
Chris Lu 2019-01-18 14:32:02 -08:00
parent 8ec57e18c7
commit 2b3cef7780
4 changed files with 8 additions and 2 deletions

View file

@ -15,7 +15,9 @@ EXPOSE 8080
EXPOSE 18888 EXPOSE 18888
# filer server http port # filer server http port
EXPOSE 8888 EXPOSE 8888
# master server shared gprc+http port # master server shared gprc port
EXPOSE 19333
# master server shared http port
EXPOSE 9333 EXPOSE 9333
# s3 server http port # s3 server http port
EXPOSE 8333 EXPOSE 8333

View file

@ -9,7 +9,9 @@ EXPOSE 8080
EXPOSE 18888 EXPOSE 18888
# filer server http port # filer server http port
EXPOSE 8888 EXPOSE 8888
# master server shared gprc+http port # master server shared gprc port
EXPOSE 19333
# master server shared http port
EXPOSE 9333 EXPOSE 9333
# s3 server http port # s3 server http port
EXPOSE 8333 EXPOSE 8333

View file

@ -7,6 +7,7 @@ services:
dockerfile: Dockerfile.go_build dockerfile: Dockerfile.go_build
ports: ports:
- 9333:9333 - 9333:9333
- 19333:19333
command: "master" command: "master"
volume: volume:
build: build:

View file

@ -5,6 +5,7 @@ services:
image: chrislusf/seaweedfs # use a remote image image: chrislusf/seaweedfs # use a remote image
ports: ports:
- 9333:9333 - 9333:9333
- 19333:19333
command: "master" command: "master"
volume: volume:
image: chrislusf/seaweedfs # use a remote image image: chrislusf/seaweedfs # use a remote image