- Docker and Docker Compose installed
- Port 8000 available
# Clone the repository
git clone https://github.com/DeepDN/credential-manager.git
cd credential-manager
# Start the application
docker-compose up -d
# Verify it's running
curl http://localhost:8000/health
# Access the web interface
open http://localhost:8000# View logs
docker-compose logs -f securevault
# Stop the application
docker-compose down
# Restart with updates
docker-compose up -d --build
# Check status
docker-compose psYour data is automatically saved in:
./vault-data/- Encrypted credentials./backup-data/- Backup files./logs/- Application logs
Create a .env file for custom settings:
SECUREVAULT_SESSION_TIMEOUT=600
SECUREVAULT_MAX_ATTEMPTS=3
SECUREVAULT_PORT=8000- Change default ports in production
- Use HTTPS with a reverse proxy
- Regular backups are essential
- Keep Docker images updated
Port already in use:
# Change port in docker-compose.yml
ports:
- "8080:8000" # Use port 8080 insteadPermission issues:
sudo chown -R $USER:$USER ./vault-data ./backup-data ./logsContainer won't start:
docker-compose logs securevault
docker-compose down && docker-compose up -d --buildFor detailed documentation, see README.md.