mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-12-14 02:14:54 +01:00
build
This commit is contained in:
@@ -6,6 +6,9 @@ services:
|
||||
- "8200:8200"
|
||||
volumes:
|
||||
- data:/vault/data
|
||||
configs:
|
||||
- source: vault_hcl
|
||||
target: /vault/config/vault.hcl
|
||||
environment:
|
||||
VAULT_LOCAL_CONFIG: |
|
||||
{
|
||||
@@ -21,10 +24,10 @@ services:
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
configs:
|
||||
- source: vault_hcl
|
||||
target: /vault/config/vault.hcl
|
||||
|
||||
configs:
|
||||
vault_hcl:
|
||||
external: true
|
||||
volumes:
|
||||
data:
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user