Browse Source
Add explicit IP and binding parameters in Docker Compose (#7533)
fix(compose): correct command args to ensure proper IP binding
pull/4898/merge
Gophlet
4 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
7 additions and
7 deletions
-
docker/seaweedfs-compose.yml
-
docker/seaweedfs-dev-compose.yml
|
|
|
@ -7,14 +7,14 @@ services: |
|
|
|
- 9333:9333 |
|
|
|
- 19333:19333 |
|
|
|
- 9324:9324 |
|
|
|
command: "master -ip=master -ip.bind=0.0.0.0 -metricsPort=9324" |
|
|
|
command: 'master -ip=master -ip.bind=0.0.0.0 -metricsPort=9324' |
|
|
|
volume: |
|
|
|
image: chrislusf/seaweedfs # use a remote image |
|
|
|
ports: |
|
|
|
- 8080:8080 |
|
|
|
- 18080:18080 |
|
|
|
- 9325:9325 |
|
|
|
command: 'volume -mserver="master:9333" -ip.bind=0.0.0.0 -port=8080 -metricsPort=9325' |
|
|
|
command: 'volume -ip=volume -mserver="master:9333" -ip.bind=0.0.0.0 -port=8080 -metricsPort=9325' |
|
|
|
depends_on: |
|
|
|
- master |
|
|
|
filer: |
|
|
|
@ -23,7 +23,7 @@ services: |
|
|
|
- 8888:8888 |
|
|
|
- 18888:18888 |
|
|
|
- 9326:9326 |
|
|
|
command: 'filer -master="master:9333" -ip.bind=0.0.0.0 -metricsPort=9326' |
|
|
|
command: 'filer -ip=filer -master="master:9333" -ip.bind=0.0.0.0 -metricsPort=9326' |
|
|
|
tty: true |
|
|
|
stdin_open: true |
|
|
|
depends_on: |
|
|
|
@ -54,6 +54,6 @@ services: |
|
|
|
- 9000:9090 |
|
|
|
volumes: |
|
|
|
- ./prometheus:/etc/prometheus |
|
|
|
command: --web.enable-lifecycle --config.file=/etc/prometheus/prometheus.yml |
|
|
|
command: '--web.enable-lifecycle --config.file=/etc/prometheus/prometheus.yml' |
|
|
|
depends_on: |
|
|
|
- s3 |
|
|
|
@ -6,13 +6,13 @@ services: |
|
|
|
ports: |
|
|
|
- 9333:9333 |
|
|
|
- 19333:19333 |
|
|
|
command: "master -ip=master" |
|
|
|
command: 'master -ip=master -ip.bind=0.0.0.0' |
|
|
|
volume: |
|
|
|
image: chrislusf/seaweedfs:dev # use a remote dev image |
|
|
|
ports: |
|
|
|
- 8080:8080 |
|
|
|
- 18080:18080 |
|
|
|
command: 'volume -mserver="master:9333" -port=8080 -ip=volume' |
|
|
|
command: 'volume -ip=volume -mserver="master:9333" -ip.bind=0.0.0.0 -port=8080' |
|
|
|
depends_on: |
|
|
|
- master |
|
|
|
filer: |
|
|
|
@ -20,7 +20,7 @@ services: |
|
|
|
ports: |
|
|
|
- 8888:8888 |
|
|
|
- 18888:18888 |
|
|
|
command: 'filer -master="master:9333" -ip.bind=0.0.0.0' |
|
|
|
command: 'filer -ip=filer -master="master:9333" -ip.bind=0.0.0.0' |
|
|
|
depends_on: |
|
|
|
- master |
|
|
|
- volume |
|
|
|
|