Skip to content

Infrastructure of own server for website, password manager and more

Notifications You must be signed in to change notification settings

CJGutz/server-infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server Infrastructure

Setup for services on personal server

Services currently running:

  • Website at gutzkow.com. Image from unchained
  • Vaultwarden passwordmanager
  • Backups of vaultwarden to google drive
  • Nginx and certbot for reverse proxy and letsencrypt certificates

Installation and Setup

git clone [email protected]:CJGutz/server-infrastructure.git
cd server-infrastructure

Create environment variables. Replace the ones found in the example environment file.

cp .env.example .env

To enable the admin panel for vaultwarden, you need to generate an admin token and add the token to the ADMIN_TOKEN environment variable. To generate from a password, run:

docker exec -it vaultwarden /vaultwarden hash --preset owaspdocker \
exec -it vaultwarden /vaultwarden hash --preset owasp

This assumes the container running vaultwarden is named vaultwarden as the docker-compose.yml file defines.

To start services, run:

sh setup.sh

About

Infrastructure of own server for website, password manager and more

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published