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_PASSWORDto something proper - change
PG_DOMAINto your liking - change
MARIADB_ROOT_PASSWORDto something proper - change
MYSQL_DOMAINto your liking
cp cloudflare.ini .cloudflare.ini
chmod 600 .cloudflare.iniSet your dns_cloudflare_api_token to the DNS api token
- For
postgresseeREADME.pg.mdfor how to manage it - For
mariadbseeREADME.mariadb.mdfor 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!