init
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user