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`)" \