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