-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path10_docker-compose.vault.yml
45 lines (43 loc) · 1.2 KB
/
10_docker-compose.vault.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
services:
vault:
build:
context: .
dockerfile: ./vault/Dockerfile
container_name: ${VAULT_CONTAINER_NAME:-ats-vault}
restart: unless-stopped
cap_add:
- IPC_LOCK
ports:
- "${VAULT_PORT:-8200}:8200"
volumes:
- ./vault/config:/vault/config:ro
- ${VAULT_LOG_PATH:-./logs/vault}:/vault/logs
- ats-vault-data:/vault/data
- ats-vault-logs:/vault/logs
- ats-vault-init-keys:/vault/init-keys
extra_hosts:
- "${BARE_HOST_NAME:-ats.internal}:127.0.0.1"
networks:
ats_internal_network:
aliases:
- ${VAULT_HOST_NAME:-vault.ats.internal}
ats_vault_network:
aliases:
- ${VAULT_HOST_NAME:-vault.ats.internal}
networks:
ats_internal_network:
external: true
name: ${INTERNAL_NETWORK_NAME:-ats-internal-network}
ats_vault_network:
external: true
name: ${VAULT_NETWORK_NAME:-ats-vault-network}
volumes:
ats-vault-data:
external: false
name: ${VAULT_DATA_VOLUME_NAME:-ats-vault-data}
ats-vault-logs:
external: true
name: ${VAULT_LOGS_VOLUME_NAME:-ats-vault-logs}
ats-vault-init-keys:
external: true
name: ${VAULT_INIT_KEYS_VOLUME_NAME:-ats-vault-init-keys}