diff --git a/__swarm/hashicorp/hashicorp-swarm.yml b/__swarm/hashicorp/hashicorp-swarm.yml index d1719df..d1ab8cb 100644 --- a/__swarm/hashicorp/hashicorp-swarm.yml +++ b/__swarm/hashicorp/hashicorp-swarm.yml @@ -6,7 +6,6 @@ services: - "8200:8200" volumes: - data:/vault/data - - config:/vault/config environment: VAULT_LOCAL_CONFIG: | { @@ -22,10 +21,11 @@ services: placement: constraints: - node.role == manager - +configs: + - source: vault_hcl + target: /vault/config/vault.hcl volumes: data: - config: networks: vault-net: driver: overlay \ No newline at end of file