darkceptor44/vault
Vault is a self-hosted project that allows you to store sensitive text in a secure way
42
Vault is a self-hosted project that allows you to store sensitive text in a secure way. It uses Argon2 for password hashing and key derivation and encrypts the data symmetrically with AES-256, the user's password is not saved at all, only the encrypted data with the generated salt. I wouldn't recommend using it in a real production environment but it's useful for keeping your secrets (or diary) safe from the general public.
docker run -d --name vault -p 8080:8080 -v ./data:/documents -v /etc/localtime:/etc/localtime:ro --restart unless-stopped darkceptor44/vault
services:
vault:
image: darkceptor44/vault:latest
container_name: vault
ports:
- 8080:8080
environment:
- HOST=0.0.0.0 # optional
- PORT=8080 # optional unless using a different port
- DOCKER=yes # optional
- DEBUG=yes # if debug needed
volumes:
- ./data:/documents # where data will be stored
- /etc/localtime:/etc/localtime:ro # for correct timezone when logging
restart: unless-stopped
Variable | Description | Default |
---|---|---|
HOST | Host the server binds to | 0.0.0.0 |
PORT | Port the server listens on | 8080 |
DOCKER | Tells the server it's running in a Docker container | yes if built the image with provided Dockerfile |
DEBUG | Tells the server to print debug messages, requests and to enable pprof | no |
This project is licensed under the GNU General Public License v3.0 (GPLv3), you can check the license here.
docker pull darkceptor44/vault