This PR moves the db service into two override files compose.mariadb.yml and compose.postgres.yml.
I tried to keep the mariadb as a default in compose.yml but found it a bit messy and was irritated with the docker-compose override logic. So I ended up using two seperate override files.
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.
This PR moves the db service into two override files `compose.mariadb.yml` and `compose.postgres.yml`.
I tried to keep the mariadb as a default in `compose.yml` but 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
```
COMPOSE_FILE="compose.yml"
COMPOSE_FILE="$COMPOSE_FILE:compose.mariadb.yml"
```
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.