Skip to content

Commit

Permalink
roles/consul: also bind server to localhost
Browse files Browse the repository at this point in the history
Signed-off-by: John Helmert III <jchelmert3@posteo.net>
  • Loading branch information
ajakk committed Dec 24, 2023
1 parent fb8bd60 commit 09d8319
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion roles/consul/tasks/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
- "-bind={{ consul_client_bind_ip }}"
# needs the client bind address set to something accessible for
# prometheus to access the its port 8500
- "-client={{ consul_client_bind_ip }}"
# FIXME: .. but consul_service makes requests over lo even if
# this is bound to a public interface! why?
- "-client={{ consul_client_bind_ip }} 127.0.0.1"
volumes:
- consul:/consul/data

0 comments on commit 09d8319

Please # to comment.