Skip to content

Commit be0eeba

Browse files
committed
fix(docker): remove remaining backslash-pipe YAML escapes in healthcheck tests
1 parent 51d4617 commit be0eeba

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

docker/docker-compose.advanced.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ services:
5959
driver: json-file
6060
options: {max-size: "50m", max-file: "3"}
6161
healthcheck:
62-
test: ["CMD-SHELL", "curl -sf http://localhost:9200/_cluster/health | grep -qE 'green\|yellow' || exit 1"]
62+
test: ["CMD-SHELL", "curl -sf http://localhost:9200/_cluster/health | grep -qE 'green|yellow' || exit 1"]
6363
interval: 30s
6464
timeout: 15s
6565
retries: 8
@@ -102,7 +102,7 @@ services:
102102
driver: json-file
103103
options: {max-size: "100m", max-file: "5"}
104104
healthcheck:
105-
test: ["CMD-SHELL", "curl -sf http://localhost:9000/api/ | grep -qi 'cluster_id\\|version' || exit 1"]
105+
test: ["CMD-SHELL", "curl -sf http://localhost:9000/api/ | grep -qi 'cluster_id\|version' || exit 1"]
106106
interval: 30s
107107
timeout: 15s
108108
retries: 10

docker/docker-compose.lan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ services:
4141
volumes:
4242
- graylog-l02-es-data:/usr/share/elasticsearch/data
4343
healthcheck:
44-
test: ["CMD-SHELL", "curl -sf http://localhost:9200/_cluster/health | grep -qE 'green\|yellow' || exit 1"]
44+
test: ["CMD-SHELL", "curl -sf http://localhost:9200/_cluster/health | grep -qE 'green|yellow' || exit 1"]
4545
interval: 30s
4646
timeout: 15s
4747
retries: 8
@@ -73,7 +73,7 @@ services:
7373
volumes:
7474
- graylog-l02-data:/usr/share/graylog/data
7575
healthcheck:
76-
test: ["CMD-SHELL", "curl -sf http://localhost:9000/api/ | grep -qi 'cluster_id\\|version' || exit 1"]
76+
test: ["CMD-SHELL", "curl -sf http://localhost:9000/api/ | grep -qi 'cluster_id\|version' || exit 1"]
7777
interval: 30s
7878
timeout: 15s
7979
retries: 10

docker/docker-compose.standalone.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ services:
3737
volumes:
3838
- graylog-s01-es-data:/usr/share/elasticsearch/data
3939
healthcheck:
40-
test: ["CMD-SHELL", "curl -sf http://localhost:9200/_cluster/health | grep -qE 'green\|yellow' || exit 1"]
40+
test: ["CMD-SHELL", "curl -sf http://localhost:9200/_cluster/health | grep -qE 'green|yellow' || exit 1"]
4141
interval: 30s
4242
timeout: 15s
4343
retries: 8
@@ -70,7 +70,7 @@ services:
7070
volumes:
7171
- graylog-s01-data:/usr/share/graylog/data
7272
healthcheck:
73-
test: ["CMD-SHELL", "curl -sf http://localhost:9000/api/ | grep -qi 'cluster_id\|version' || exit 1"]
73+
test: ["CMD-SHELL", "curl -sf http://localhost:9000/api/ | grep -qi 'cluster_id|version' || exit 1"]
7474
interval: 30s
7575
timeout: 15s
7676
retries: 10

0 commit comments

Comments
 (0)