|
@ -6,16 +6,20 @@ services: |
|
|
command: "-v=4 master -ip=master -ip.bind=0.0.0.0 -raftBootstrap" |
|
|
command: "-v=4 master -ip=master -ip.bind=0.0.0.0 -raftBootstrap" |
|
|
healthcheck: |
|
|
healthcheck: |
|
|
test: [ "CMD", "curl", "--fail", "-I", "http://localhost:9333/cluster/healthz" ] |
|
|
test: [ "CMD", "curl", "--fail", "-I", "http://localhost:9333/cluster/healthz" ] |
|
|
interval: 1s |
|
|
|
|
|
timeout: 60s |
|
|
|
|
|
|
|
|
interval: 2s |
|
|
|
|
|
timeout: 10s |
|
|
|
|
|
retries: 30 |
|
|
|
|
|
start_period: 10s |
|
|
|
|
|
|
|
|
volume: |
|
|
volume: |
|
|
image: chrislusf/seaweedfs:e2e |
|
|
image: chrislusf/seaweedfs:e2e |
|
|
command: "-v=4 volume -mserver=master:9333 -ip=volume -ip.bind=0.0.0.0 -preStopSeconds=1" |
|
|
command: "-v=4 volume -mserver=master:9333 -ip=volume -ip.bind=0.0.0.0 -preStopSeconds=1" |
|
|
healthcheck: |
|
|
healthcheck: |
|
|
test: [ "CMD", "curl", "--fail", "-I", "http://localhost:8080/healthz" ] |
|
|
test: [ "CMD", "curl", "--fail", "-I", "http://localhost:8080/healthz" ] |
|
|
interval: 1s |
|
|
|
|
|
timeout: 30s |
|
|
|
|
|
|
|
|
interval: 2s |
|
|
|
|
|
timeout: 10s |
|
|
|
|
|
retries: 15 |
|
|
|
|
|
start_period: 5s |
|
|
depends_on: |
|
|
depends_on: |
|
|
master: |
|
|
master: |
|
|
condition: service_healthy |
|
|
condition: service_healthy |
|
@ -25,8 +29,10 @@ services: |
|
|
command: "-v=4 filer -master=master:9333 -ip=filer -ip.bind=0.0.0.0" |
|
|
command: "-v=4 filer -master=master:9333 -ip=filer -ip.bind=0.0.0.0" |
|
|
healthcheck: |
|
|
healthcheck: |
|
|
test: [ "CMD", "curl", "--fail", "-I", "http://localhost:8888" ] |
|
|
test: [ "CMD", "curl", "--fail", "-I", "http://localhost:8888" ] |
|
|
interval: 1s |
|
|
|
|
|
timeout: 30s |
|
|
|
|
|
|
|
|
interval: 2s |
|
|
|
|
|
timeout: 10s |
|
|
|
|
|
retries: 15 |
|
|
|
|
|
start_period: 5s |
|
|
depends_on: |
|
|
depends_on: |
|
|
volume: |
|
|
volume: |
|
|
condition: service_healthy |
|
|
condition: service_healthy |
|
@ -46,8 +52,10 @@ services: |
|
|
memory: 4096m |
|
|
memory: 4096m |
|
|
healthcheck: |
|
|
healthcheck: |
|
|
test: [ "CMD", "mountpoint", "-q", "--", "/mnt/seaweedfs" ] |
|
|
test: [ "CMD", "mountpoint", "-q", "--", "/mnt/seaweedfs" ] |
|
|
interval: 1s |
|
|
|
|
|
timeout: 30s |
|
|
|
|
|
|
|
|
interval: 2s |
|
|
|
|
|
timeout: 10s |
|
|
|
|
|
retries: 15 |
|
|
|
|
|
start_period: 10s |
|
|
depends_on: |
|
|
depends_on: |
|
|
filer: |
|
|
filer: |
|
|
condition: service_healthy |
|
|
condition: service_healthy |