Infrastructure and deployment for gkserver instance.
Github Actions used as CI/CD pipeline to perform a git pull
on remote machine and, if changes are detected, perform a docker compose up -d
to build, recreate, or remove docker services.
Assumes repo is cloned into ~/gkserver
.
Assumes .env file is present in docker-compose
directory.
Package and Docker container updates are manually made using updates
ansible playbook.
Machine should be initialized with init_gkserver
ansible playbook, which will clone this repo as a step.
Additional tasks required:
- Install self-hosted runner for Github Actions and create service 1, 2
- Transfer existing Docker data
docker-data
(if desired) - Create
.env
indocker-compose
- Configure and harden ssh
- Mount HDDs and edit fstab
- Install rclone and configure
- Install syncthing and configure
- Install CyberPower PowerPanel and configure