Compare commits

..

3 Commits

Author SHA1 Message Date
801e0a0762 chore: publish 2.1.0+24.0.0-fpm release 2022-05-18 11:12:59 +02:00
01f610d02f chore: publish 2.0.0+23.0.4-fpm release 2022-05-18 10:49:30 +02:00
12eea19cab add postgres db (#26)
This PR moves the db service into two override files `compose.mariadb.yml` and `compose.postgres.yml`.

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.

Co-authored-by: Philipp Rothmann <philipprothmann@posteo.de>
Reviewed-on: coop-cloud/nextcloud#26
2022-05-18 08:36:26 +00:00
2 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
version: "3.8"
services:
web:
image: nginx:1.20.0
image: nginx:1.21.6
configs:
- source: nginx_conf
target: /etc/nginx/nginx.conf
@ -33,7 +33,7 @@ services:
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
app:
image: nextcloud:23.0.3-fpm
image: nextcloud:24.0.0-fpm
depends_on:
- db
configs:
@ -69,13 +69,13 @@ services:
failure_action: rollback
order: start-first
labels:
- "coop-cloud.${STACK_NAME}.version=2.0.0+23.0.3-fpm"
- "coop-cloud.${STACK_NAME}.version=2.1.0+24.0.0-fpm"
- "backupbot.backup=true"
- "backupbot.backup.path=/var/www/html/config/,/var/www/html/data/,/var/www/html/custom_apps/"
cron:
image: nextcloud:23.0.3-fpm
image: nextcloud:24.0.0-fpm
volumes:
- nextcloud:/var/www/html/
- nextapps:/var/www/html/custom_apps:cached
@ -87,7 +87,7 @@ services:
entrypoint: /cron.sh
cache:
image: redis:6.2.5-alpine
image: redis:7.0.0-alpine
networks:
- internal
volumes:

View File

@ -1,4 +1,4 @@
2.0.0 introduces a minor nextcloud update to 23.0.3 and moves the database service to a seperate override.yml file to support different database types (mariadb / postgres). This might break your installation. Please add the following snippet to your config .env to ensure the right db is used:
2.0.0 introduces a minor nextcloud update to 23.0.4 and moves the database service to a seperate override.yml file to support different database types (mariadb / postgres). This might break your installation. Please add the following snippet to your config .env to ensure the right db is used:
```
COMPOSE_FILE="compose.yml"