- Setup a bare linux system
sudo apt-get update
sudo apt-get upgrade
- Generate new ssh key pair
- Install Docker
sudo apt-get install docker
sudo apt-get install docker-compose
- Create sshmanager directory
mkdir ~/sshmanager
mkdir ~/sshmanager/pg
touch ~/sshmanager/.env
- Update environment variables in ~/sshmanager/.env
- Update Postgres credentials in docker-compose.yaml
- Start services with docker compose
docker-compose up -d