commit d19908592ea051c7b344a5c4e26a1e058618c3c4
parent 27434b0301b144ca5dd018fd310c90d496ac8b05
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date: Wed, 19 Jul 2023 23:42:59 +0200
fix(consul): fix server stanza
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/consul.sh b/consul.sh
@@ -75,8 +75,10 @@ EOF
if [[ "$CONSUL_SERVER" = true ]]; then
cat << EOF > /etc/consul.d/server.hcl
-server = true
-bootstrap_expect = 3
+server {
+ enabled = true
+ bootstrap_expect = 3
+}
ui_config {
enabled = true