Browse Source

fix other files

adding-message-queue-integration-tests
chrislu 5 months ago
parent
commit
914810fd13
  1. 8
      test/mq/docker-compose.cluster.yml
  2. 8
      test/mq/docker-compose.production.yml

8
test/mq/docker-compose.cluster.yml

@ -1,5 +1,3 @@
version: '3.8'
services:
# Masters
master0:
@ -12,7 +10,7 @@ services:
networks:
- seaweedfs-test
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9333/cluster/status"]
test: ["CMD", "wget", "-q", "--spider", "http://master0:9333/cluster/status"]
interval: 30s
timeout: 10s
retries: 5
@ -28,7 +26,7 @@ services:
networks:
- seaweedfs-test
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9334/cluster/status"]
test: ["CMD", "wget", "-q", "--spider", "http://master1:9334/cluster/status"]
interval: 30s
timeout: 10s
retries: 5
@ -44,7 +42,7 @@ services:
networks:
- seaweedfs-test
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9335/cluster/status"]
test: ["CMD", "wget", "-q", "--spider", "http://master2:9335/cluster/status"]
interval: 30s
timeout: 10s
retries: 5

8
test/mq/docker-compose.production.yml

@ -1,5 +1,3 @@
version: '3.8'
services:
# Masters
master0:
@ -17,7 +15,7 @@ services:
networks:
- seaweedfs-test
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9333/cluster/status"]
test: ["CMD", "wget", "-q", "--spider", "http://master0:9333/cluster/status"]
interval: 10s
timeout: 5s
retries: 3
@ -37,7 +35,7 @@ services:
networks:
- seaweedfs-test
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9334/cluster/status"]
test: ["CMD", "wget", "-q", "--spider", "http://master1:9334/cluster/status"]
interval: 10s
timeout: 5s
retries: 3
@ -57,7 +55,7 @@ services:
networks:
- seaweedfs-test
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9335/cluster/status"]
test: ["CMD", "wget", "-q", "--spider", "http://master2:9335/cluster/status"]
interval: 10s
timeout: 5s
retries: 3

Loading…
Cancel
Save