mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-29 18:33:05 +00:00
prometheus: replace default port by a port between the recommended prometheus range
This commit is contained in:
parent
d55c79e75b
commit
a9122c3de3
4 changed files with 4 additions and 4 deletions
|
@ -55,7 +55,7 @@ func (*Suite) TestConfigLoading(c *check.C) {
|
|||
// Test that config file was interpreted correctly
|
||||
c.Assert(viper.GetString("server_url"), check.Equals, "http://127.0.0.1:8080")
|
||||
c.Assert(viper.GetString("listen_addr"), check.Equals, "0.0.0.0:8080")
|
||||
c.Assert(viper.GetString("metrics_listen_addr"), check.Equals, "127.0.0.1:8081")
|
||||
c.Assert(viper.GetString("metrics_listen_addr"), check.Equals, "127.0.0.1:9915")
|
||||
c.Assert(viper.GetString("db_type"), check.Equals, "sqlite3")
|
||||
c.Assert(viper.GetString("db_path"), check.Equals, "/var/lib/headscale/db.sqlite")
|
||||
c.Assert(viper.GetString("tls_letsencrypt_hostname"), check.Equals, "")
|
||||
|
|
|
@ -20,7 +20,7 @@ listen_addr: 0.0.0.0:8080
|
|||
# to keep this endpoint private to your internal
|
||||
# network
|
||||
#
|
||||
metrics_listen_addr: 127.0.0.1:8081
|
||||
metrics_listen_addr: 127.0.0.1:9915
|
||||
|
||||
# Address to listen for gRPC.
|
||||
# gRPC is used for controlling a headscale server
|
||||
|
|
|
@ -5,5 +5,5 @@ metadata:
|
|||
data:
|
||||
server_url: $(PUBLIC_PROTO)://$(PUBLIC_HOSTNAME)
|
||||
listen_addr: "0.0.0.0:8080"
|
||||
metrics_listen_addr: "127.0.0.1:8081"
|
||||
metrics_listen_addr: "127.0.0.1:9915"
|
||||
ephemeral_node_inactivity_timeout: "30m"
|
||||
|
|
|
@ -14,7 +14,7 @@ dns_config:
|
|||
db_path: /tmp/integration_test_db.sqlite3
|
||||
private_key_path: private.key
|
||||
listen_addr: 0.0.0.0:8080
|
||||
metrics_listen_addr: 127.0.0.1:8081
|
||||
metrics_listen_addr: 127.0.0.1:9915
|
||||
server_url: http://headscale:8080
|
||||
|
||||
derp:
|
||||
|
|
Loading…
Reference in a new issue