mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
Feat : Add HashiCorp Vault template (#512)
* feat: add HashiCorp Vault template * Update blueprints/vault/docker-compose.yml --------- Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
dbc2cee968
commit
186528df56
20
blueprints/vault/docker-compose.yml
Normal file
20
blueprints/vault/docker-compose.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
vault:
|
||||
image: hashicorp/vault:latest
|
||||
container_name: vault
|
||||
cap_add:
|
||||
- IPC_LOCK
|
||||
environment:
|
||||
VAULT_DEV_ROOT_TOKEN_ID: "${VAULT_DEV_ROOT_TOKEN_ID}"
|
||||
VAULT_DEV_LISTEN_ADDRESS: "${VAULT_DEV_LISTEN_ADDRESS}"
|
||||
ports:
|
||||
- "8200"
|
||||
volumes:
|
||||
- vault-data:/vault/file
|
||||
command: "server -dev -dev-root-token-id=${VAULT_DEV_ROOT_TOKEN_ID} -dev-listen-address=${VAULT_DEV_LISTEN_ADDRESS}"
|
||||
|
||||
volumes:
|
||||
vault-data:
|
||||
|
||||
17
blueprints/vault/template.toml
Normal file
17
blueprints/vault/template.toml
Normal file
@@ -0,0 +1,17 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
root_token = "${password:32}"
|
||||
|
||||
[config]
|
||||
|
||||
[[config.domains]]
|
||||
serviceName = "vault"
|
||||
port = 8200
|
||||
host = "${main_domain}"
|
||||
|
||||
[config.env]
|
||||
VAULT_DEV_ROOT_TOKEN_ID = "${root_token}"
|
||||
VAULT_DEV_LISTEN_ADDRESS = "0.0.0.0:8200"
|
||||
|
||||
[[config.mounts]]
|
||||
|
||||
2
blueprints/vault/vault.svg
Normal file
2
blueprints/vault/vault.svg
Normal file
@@ -0,0 +1,2 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16" aria-hidden="true"><path fill="#7D70BA" d="M0 0l7.971 15.516L16 0H0zm6.732 6.16h-1.27V4.89h1.27v1.27zm0-1.906h-1.27V2.985h1.27v1.269zm1.904 3.81h-1.27v-1.27h1.27v1.27zm0-1.905h-1.27V4.89h1.27v1.27zm0-1.905h-1.27V2.985h1.27v1.269zm1.894 1.905H9.26V4.89h1.27v1.27zM9.26 4.254V2.985h1.27v1.269H9.26z"></path></svg>
|
||||
|
||||
|
After Width: | Height: | Size: 408 B |
18
meta.json
18
meta.json
@@ -5343,6 +5343,24 @@
|
||||
"self-hosted"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "vault",
|
||||
"name": "Vault",
|
||||
"version": "latest",
|
||||
"description": "Vault is a tool for securely accessing secrets. A secret is anything that you want to tightly control access to, such as API keys, passwords, certificates, and more. Vault provides a unified interface to any secret, while providing tight access control and recording a detailed audit log. To sign in: In the Vault UI, select 'Token' as the authentication method (not GitHub), then enter the root token from the VAULT_DEV_ROOT_TOKEN_ID environment variable (auto-generated).",
|
||||
"logo": "vault.svg",
|
||||
"links": {
|
||||
"github": "https://github.com/hashicorp/vault",
|
||||
"website": "https://www.vaultproject.io/",
|
||||
"docs": "https://developer.hashicorp.com/vault/docs"
|
||||
},
|
||||
"tags": [
|
||||
"security",
|
||||
"secrets",
|
||||
"devops",
|
||||
"infrastructure"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "vaultwarden",
|
||||
"name": "Vaultwarden",
|
||||
|
||||
Reference in New Issue
Block a user