This commit is contained in:
Vassiliy Yegorov
2022-07-28 00:51:41 +07:00
parent c3ba7baa48
commit b38288eba7
8 changed files with 45 additions and 136 deletions

View File

@@ -1,6 +1,6 @@
version: '3.8'
services:
myvault:
vault:
image: hashicorp/vault
container_name: vault
restart: always
@@ -29,29 +29,16 @@ services:
retries: 12
start_period: 10s
timeout: 10s
expose:
- 8200
networks:
- vault_net
- webproxy
vault-agent:
container_name: vault-agent
image: hashicorp/vault
restart: always
environment:
VAULT_ADDR: "http://vault:8200"
entrypoint: "vault agent -log-level debug -config=/helpers/vault-agent.hcl"
depends_on:
vault:
condition: service_healthy
volumes:
- ./data/helpers:/helpers
# expose:
# - 8200
ports:
- "8200:8200"
networks:
- vault_net
# - webproxy
networks:
vault_net:
name: vault_net
webproxy:
name: webproxy
# webproxy:
# name: webproxy