From bd07d4ed2c25858fd7cdd6652093ef6f6068fc55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Tue, 11 Jan 2022 16:29:17 +0100 Subject: [PATCH] Update vault listener address --- project/roles/vault/templates/vault.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/roles/vault/templates/vault.service.j2 b/project/roles/vault/templates/vault.service.j2 index 47853c3..6eaceb6 100644 --- a/project/roles/vault/templates/vault.service.j2 +++ b/project/roles/vault/templates/vault.service.j2 @@ -13,7 +13,7 @@ ExecStartPre=-/usr/bin/docker rm vault ExecStartPre=-/usr/bin/docker pull vault:latest ExecStart=/usr/bin/docker run \ -e VAULT_DISABLE_MLOCK=true \ - -e 'VAULT_LOCAL_CONFIG={"backend": {"file": {"path": "/vault/file"}}, "default_lease_ttl": "168h", "max_lease_ttl": "720h", "ui": "true"}' \ + -e 'VAULT_LOCAL_CONFIG={"backend": {"file": {"path": "/vault/file"}}, {"listener": [{"tcp":{"address": "0.0.0.0:8200"}, "default_lease_ttl": "168h", "max_lease_ttl": "720h", "ui": "true"}' \ -e "VAULT_API_ADDR=https://vault.t-juice.club" \ -l "traefik.enable=true" \ -l "traefik.http.routers.vault.rule=Host(`vault.t-juice.club`)" \