---
vault_version: latest
vault_dev_root_token_id: 47542cbc-6bf8-4fba-8eda-02e0a0d29a0a

docker_compose: clean
# clean - down, then up
# up - bring up the configuration
# down - destroy the configuration
# none - do not take any docker actions (templating of docker-compose.yml still happens)

docker_compose_project_name: hashi_vault

vault_port_http: 8200
vault_port_https: 8300
vault_container_name: vault
vault_container_image: hashicorp/vault
vault_target_name: '{{ vault_container_name }}'

proxy_port: 8888
proxy_container_name: tinyproxy
proxy_container_image: monokal/tinyproxy
proxy_target_name: '{{ proxy_container_name }}'

mmock_server_port: 8900
mmock_console_port: 8901
mmock_container_name: mmock
mmock_container_image: jordimartin/mmock
mmock_target_name: '{{ mmock_container_name }}'
mmock_config_path: '{{ output_dir }}/mmock_config'

postgres_container_name: postgres
postgres_container_image: postgres
postgres_target_name: '{{ postgres_container_name }}'
postgres_config_path: '{{ output_dir }}/postgres'
postgres_sql_port: 5432
postgres_db_name: hcvault
postgres_db_user: postgres
postgres_db_password: postgres

output_dir: '{{ role_path }}/files/.output'

docker_compose_output: '{{ output_dir }}/{{ docker_compose_project_name }}'
docker_compose_file: '{{ docker_compose_output }}/docker-compose.yml'

vault_config_output: '{{ output_dir }}/vault_config'

vault_cert_file: '{{ vault_config_output }}/cert.pem'
vault_key_file: '{{ vault_config_output }}/key.pem'

vault_crypto_force: false
