From dc73c15838794f218b7020ce2751d49036d6f7c8 Mon Sep 17 00:00:00 2001 From: Kaloyan Nikolov Date: Fri, 18 Apr 2025 15:15:29 +0000 Subject: [PATCH] Unified across files / updated README file. Signed-off-by: Kaloyan Nikolov --- .../insecure/mariadb/fpm/compose.yaml | 3 ++- .../insecure/postgres/fpm/compose.yaml | 5 +++-- .../with-nginx-proxy/mariadb/apache/compose.yaml | 3 ++- .../with-nginx-proxy/mariadb/fpm/compose.yaml | 5 +++-- .../with-nginx-proxy/postgres/apache/compose.yaml | 3 ++- .../with-nginx-proxy/postgres/fpm/compose.yaml | 5 +++-- README.md | 13 ++++++++----- 7 files changed, 23 insertions(+), 14 deletions(-) diff --git a/.examples/docker-compose/insecure/mariadb/fpm/compose.yaml b/.examples/docker-compose/insecure/mariadb/fpm/compose.yaml index c5a7747d..ebc63ff0 100644 --- a/.examples/docker-compose/insecure/mariadb/fpm/compose.yaml +++ b/.examples/docker-compose/insecure/mariadb/fpm/compose.yaml @@ -2,7 +2,8 @@ services: # Note: MariaDB is an external service. You can find more information about the configuration here: # https://docs.linuxserver.io/images/docker-mariadb/#environment-variables-e db: - image: mariadb:10.11 + # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server + image: mariadb:lts command: --transaction-isolation=READ-COMMITTED restart: always volumes: diff --git a/.examples/docker-compose/insecure/postgres/fpm/compose.yaml b/.examples/docker-compose/insecure/postgres/fpm/compose.yaml index 649b4158..14ef7219 100644 --- a/.examples/docker-compose/insecure/postgres/fpm/compose.yaml +++ b/.examples/docker-compose/insecure/postgres/fpm/compose.yaml @@ -2,7 +2,8 @@ services: # Note: PostgreSQL is an external service. You can find more information about the configuration here: # https://github.com/docker-library/docs/blob/master/postgres/README.md db: - image: postgres:16-alpine + # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server + image: postgres:alpine restart: always volumes: - db:/var/lib/postgresql/data:Z @@ -33,7 +34,7 @@ services: # Note: Nginx is an external service. You can find more information about the configuration here: # https://hub.docker.com/_/nginx/ web: - image: nginx:alpine + image: nginx:alpine-slim restart: always ports: - 127.0.0.1:8080:80 diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/apache/compose.yaml b/.examples/docker-compose/with-nginx-proxy/mariadb/apache/compose.yaml index 1af9fb94..7c63ad11 100644 --- a/.examples/docker-compose/with-nginx-proxy/mariadb/apache/compose.yaml +++ b/.examples/docker-compose/with-nginx-proxy/mariadb/apache/compose.yaml @@ -2,7 +2,8 @@ services: # Note: MariaDB is an external service. You can find more information about the configuration here: # https://docs.linuxserver.io/images/docker-mariadb/#environment-variables-e db: - image: mariadb:10.11 + # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server + image: mariadb:lts command: --transaction-isolation=READ-COMMITTED restart: always volumes: diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/compose.yaml b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/compose.yaml index 4f661bb4..c56179fd 100644 --- a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/compose.yaml +++ b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/compose.yaml @@ -2,7 +2,8 @@ services: # Note: MariaDB is an external service. You can find more information about the configuration here: # https://docs.linuxserver.io/images/docker-mariadb/#environment-variables-e db: - image: mariadb:10.11 + # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server + image: mariadb:lts command: --transaction-isolation=READ-COMMITTED restart: always volumes: @@ -39,7 +40,7 @@ services: # Note: Nginx is an external service. You can find more information about the configuration here: # https://hub.docker.com/_/nginx/ web: - image: nginx:alpine + image: nginx:alpine-slim restart: always volumes: # https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html diff --git a/.examples/docker-compose/with-nginx-proxy/postgres/apache/compose.yaml b/.examples/docker-compose/with-nginx-proxy/postgres/apache/compose.yaml index a5e98585..5ddbc034 100644 --- a/.examples/docker-compose/with-nginx-proxy/postgres/apache/compose.yaml +++ b/.examples/docker-compose/with-nginx-proxy/postgres/apache/compose.yaml @@ -2,7 +2,8 @@ services: # Note: PostgreSQL is an external service. You can find more information about the configuration here: # https://github.com/docker-library/docs/blob/master/postgres/README.md db: - image: postgres:16-alpine + # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server + image: postgres:alpine restart: always volumes: - db:/var/lib/postgresql/data:Z diff --git a/.examples/docker-compose/with-nginx-proxy/postgres/fpm/compose.yaml b/.examples/docker-compose/with-nginx-proxy/postgres/fpm/compose.yaml index 67120588..2feef12a 100644 --- a/.examples/docker-compose/with-nginx-proxy/postgres/fpm/compose.yaml +++ b/.examples/docker-compose/with-nginx-proxy/postgres/fpm/compose.yaml @@ -2,7 +2,8 @@ services: # Note: PostgreSQL is an external service. You can find more information about the configuration here: # https://github.com/docker-library/docs/blob/master/postgres/README.md db: - image: postgres:16-alpine + # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server + image: postgres:alpine restart: always volumes: - db:/var/lib/postgresql/data:Z @@ -34,7 +35,7 @@ services: # Note: Nginx is an external service. You can find more information about the configuration here: # https://hub.docker.com/_/nginx/ web: - image: nginx:alpine + image: nginx:alpine-slim restart: always volumes: # https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html diff --git a/README.md b/README.md index a2f1c426..95095c0a 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ Database: ```console $ docker run -d \ -v db:/var/lib/mysql \ -mariadb:10.11 +mariadb:lts ``` ### Additional volumes @@ -406,7 +406,8 @@ services: # Note: MariaDB is external service. You can find more information about the configuration here: # https://docs.linuxserver.io/images/docker-mariadb/#environment-variables-e db: - image: mariadb:10.11 + # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server + image: mariadb:lts restart: always command: --transaction-isolation=READ-COMMITTED volumes: @@ -458,7 +459,8 @@ services: # Note: MariaDB is an external service. You can find more information about the configuration here: # https://docs.linuxserver.io/images/docker-mariadb/#environment-variables-e db: - image: mariadb:10.11 + # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server + image: mariadb:lts restart: always command: --transaction-isolation=READ-COMMITTED volumes: @@ -492,7 +494,7 @@ services: # Note: Nginx is an external service. You can find more information about the configuration here: # https://hub.docker.com/_/nginx/ web: - image: nginx:alpine + image: nginx:alpine-slim restart: always ports: - 8080:80 @@ -527,7 +529,8 @@ services: # Note: PostgreSQL is external service. You can find more information about the configuration here: # https://github.com/docker-library/docs/blob/master/postgres/README.md db: - image: postgres:16-alpine + # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server + image: postgres:alpine restart: always volumes: - db:/var/lib/postgresql/data