Last active
March 3, 2017 11:31
-
-
Save tkoenig89/8ad9bd87df11946045cdbfbc57b46054 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Auf dem USB Stick eine Ordnerstruktur anlegen, die einfach gebackupt werden kann: | |
| Mit "=>" soll verdeutlicht werden wo die Dateien im Dockercontainer hingemounted werden sollen | |
| USB Dateisystem unter "/mnt/usb": | |
| /docker | |
| /certs | |
| cert.pem => /certs/cert.pem | |
| key.pem => /certs/key.pem | |
| /mosquitto | |
| /etc | |
| mosquitto.conf => /etc/mosquitto/mosquitto.conf | |
| /image-server | |
| /etc | |
| mqtt-config.json => /etc/image-server/mqtt-config.json | |
| config.json => /etc/image-server/config.json | |
| /gogs | |
| /data => /data | |
| Per cronjob werden dann regelmäßig Backups auf das NAS (per nfs gemounted) gemacht. | |
| > tar -zcf /mnt/usb/docker_backup_$(date +%Y_%m_%d).tar.gz /mnt/usb/docker | |
| Mosquttio Certificats: | |
| http://stackoverflow.com/questions/26657319/how-do-you-set-up-encrypted-mosquitto-broker-like-a-webpage-which-has-https | |
| http://rockingdlabs.dunmire.org/exercises-experiments/ssl-client-certs-to-secure-mqtt | |
| https://mosquitto.org/2015/12/using-lets-encrypt-certificates-with-mosquitto/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment