add postgres db #26
Reference in New Issue
Block a user
No description provided.
Delete Branch "add-postgres-db"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR moves the db service into two override files
compose.mariadb.ymlandcompose.postgres.yml.I tried to keep the mariadb as a default in
compose.ymlbut found it a bit messy and was irritated with the docker-compose override logic. So I ended up using two seperate override files.Existing installations need to add
to their .env file to ensure mariadb is still used.
looking forward to your feedback ;)
Background
We were running Nextcloud on postgres before we moved to use coop-cloud and migrating from postgres -> mariadb seemed to be a too big pain.
LGTM in the general approach!
@ -0,0 +17,4 @@- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db_root_passwordconfigs:- source: my_tunetarget: /etc/mysql/conf.d/my-tune.cnfForgot to migrate the config definition from the main
compose.ymlor?@ -74,3 +70,3 @@order: start-firstlabels:- "coop-cloud.${STACK_NAME}.version=1.0.0+23.0.1-fpm"- "coop-cloud.${STACK_NAME}.version=1.0.0+23.0.3-fpm"Should be
2.0.0+23.0.3-fpmor?@ -95,3 +76,3 @@cron:image: nextcloud:23.0.1-fpmimage: nextcloud:23.0.3-fpmI would also mention this patch upgrade in the realease notes.