I hereby claim:
- I am nielsmaerten on github.
- I am nielsmaerten (https://keybase.io/nielsmaerten) on keybase.
- I have a public key ASBCfl-SakSQKsOd-Q-s7ycA3mbyTHS2tqlcOXt8hcZ59go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Instuctions and files to set up Wordpress on a simple Docker host.
Wordpress sits behind a HTTPS reverse proxy (nginx) which can be signed by Let's Encrypt.
This gist contains files and instructions to setup MongoDB on a simple docker host.
Connections to Mongo are secured using TLS, and the certificate is signed using Let's Encrypt.
MongoExpress is included as well, but should only be used over an SSH tunnel.
Update .env
Make sure docker-compose is available
yarn install && touch node_modules/.gitkeep
runs post container creation#!/usr/bin/env node | |
/** | |
* @description Firebase Functions Workspace Deploy Hooks | |
* @author Niels Maerten <https://github.com/nielsmaerten> | |
* @license MIT | |
* | |
* This script is designed for Yarn v3 workspaces. | |
* | |
* ### WHAT DOES THIS SCRIPT DO? ### |
############################## | |
## NIGHTSCOUT BACKUP SCRIPT ## | |
############################## | |
# I'm using an Atlas DB called 'nightscout-cluster' at the time of writing. | |
# This DB is limited to 500MB so every now and then, | |
# I want pump its records over to 'serverlessnightscout' (a serverless Atlas DB), which is unlimited. | |
# If Nightscout ever starts supporting serverless databases, I can just update the | |
# connectionstring in Heroku, and start using the unlimited one. |