The only way to publish notes.
[[https://upload.wikimedia.org/wikipedia/commons/thumb/6/6e/Veil_Nebula_-NGC6960.jpg/640px-Veil_Nebula-_NGC6960.jpg]]
- nginx-proxy with automagic LetsEncrypt
- helper container
- git wiki (gollum/RoR)
- ghost blog (nodejs)
- Maintain a single repository of text files (notes)
- Git versioning allows you to keep track of what you publish.
- Markdown allows you to create pretty html/css on-the-fly.
- Edit files locally using Vim; then commit.
- Or edit in web browser (auto commit)
- There is really no better way to take notes that require code-blocks and formatting.
- Free/open
[[https://wiki.jradd.com/uploads/Screen-Shot-2016-05-08-at-2.21.19-AM.png|float]]
[[uploads/Screen-Shot-2016-05-08-at-2.21.19-AM.png|float]]
This allows you to take notes using vim.
The only notes that will be published to the wiki, are those which you commit.
docker create -v /srv/data/wiki:/wiki --name gollum-data busybox /bin/false 'this would fail if we docker-run_d it'
bash:containers.sh
Adding nodejs ghost blog
docker run -d --name ghost-app \¬
-e "VIRTUAL_HOST=blog.jradd.com" \¬
-e "LETSENCRYPT_HOST=wiki.jradd.com" \¬
-e "LETSENCRYPT_EMAIL=jredd42@gmail.com \¬
--volumes-from ghost-data \¬
-p 8080:2368 ghost
Behind the [[magic|https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion]].
Every hour (3600 seconds) the certificates are checked and every certificate that will expire in the next 30 days (90 days / 3) are renewed.