apt update
apt install -y docker-compose
Clone and startup:
git clone --recurse-submodules 'https://github.com/JarrodCameron/sigb.sh'
cd sigb.sh
# Generate the HTTPS keys for debugging
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -subj '/C=AU/ST=New South Wales/L=Sydney/O=Signal 11/CN=sigb.sh' -keyout nginx/ssl/www.pem -out nginx/ssl/www.pem
# Start up server
docker-compose up --build
- Setup HTTPS
- Links should redirect to
sigb.sh
, notlocalhost:8000
- Port 80 should redirect to port 443
- Finish https://httpsiseasy.com/ video #4
- Seperate docker container (one for HTTPS server and one for hugo site)
-
systemd
unit to automate git updates