This repo is running the whole joppekoers.nl infrastructure\
- Debian based system
- User
joppe - Mount the storage medium on
/home/joppe/files/automatically withfstab - Copy
syncthing/config.xmlto./runtimeGenerated/syncthing/config/
/bin/sh -c "$(curl -fsSL https://get.docker.com)"
git clone git@github.com:SirMorfield/server1.git
cd server1
docker volume create nextcloud_aio_mastercontainer
make upscp ~/Downloads/CV\ Joppe\ Koers.pdf joppe@80.61.192.39:~/server1/runtimeGenerated/cms/media/CV\ Joppe\ Koers.pdfMay take a couple minutes to start the nginx server on first startup since the Diffie-Hellman parameters need to be calculated
Some read only config files are mounted straight into the container The config files that are written to by the container always contain (hashed) passwords. So we:
- Create a config.example.conf with the redacted secrets
- Decrypt the inject-secrets.sh
- Run the inject-secrets.sh
- This wil
sedcreate all the non-example files with the secrets.
eg: it will takesettings.example.confand replace theINJECT_PASSWORDwithpasswordand will write the result tosettings.conf
- This wil