add postgres db #26
No reviewers
Labels
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/nextcloud#26
Loading…
Reference in New Issue
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.yml
andcompose.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
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_password
configs:
- source: my_tune
target: /etc/mysql/conf.d/my-tune.cnf
Forgot to migrate the config definition from the main
compose.yml
or?@ -74,3 +70,3 @@
order: start-first
labels:
- "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-fpm
or?@ -95,3 +76,3 @@
cron:
image: nextcloud:23.0.1-fpm
image: nextcloud:23.0.3-fpm
I would also mention this patch upgrade in the realease notes.