A way of hosting postgres and mariadb for production. It includes
- LE based certificate management for official SSL support including renewal and database configuration
- periodic backups
- modular setup (you can pick the pieces you like via .env)
- management tools to provision / deprovision user
- only official database images / certbot images
cp env.example .env
- change
POSTGRES_PASSWORD
to something proper - change
PG_DOMAIN
to your liking - change
MARIADB_ROOT_PASSWORD
to something proper - change
MYSQL_DOMAIN
to your liking
cp cloudflare.ini .cloudflare.ini
chmod 600 .cloudflare.ini
Set your dns_cloudflare_api_token
to the DNS api token
- For
postgres
seeREADME.pg.md
for how to manage it - For
mariadb
seeREADME.mariadb.md
for how to manage it
The cron-cert-docker-image inspiration was taken from https://github.com/evgeniy-khist/letsencrypt-docker-compose - direct all the credits and cheers over there!