diff --git a/.examples/docker-compose/insecure/mariadb/apache/compose.yaml b/.examples/docker-compose/insecure/mariadb/apache/compose.yaml index c05d7d8e..57fa1f9d 100644 --- a/.examples/docker-compose/insecure/mariadb/apache/compose.yaml +++ b/.examples/docker-compose/insecure/mariadb/apache/compose.yaml @@ -1,9 +1,8 @@ services: # Note: MariaDB is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/mariadb + # https://docs.linuxserver.io/images/docker-mariadb/#environment-variables-e db: - # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server - image: mariadb:lts + image: mariadb:10.11 command: --transaction-isolation=READ-COMMITTED restart: always volumes: @@ -16,7 +15,7 @@ services: - db.env # Note: Redis is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/redis + # https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration redis: image: redis:alpine restart: always diff --git a/.examples/docker-compose/insecure/mariadb/fpm/compose.yaml b/.examples/docker-compose/insecure/mariadb/fpm/compose.yaml index 64faef6c..b7631d0f 100644 --- a/.examples/docker-compose/insecure/mariadb/fpm/compose.yaml +++ b/.examples/docker-compose/insecure/mariadb/fpm/compose.yaml @@ -1,9 +1,8 @@ services: # Note: MariaDB is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/mariadb + # https://docs.linuxserver.io/images/docker-mariadb/#environment-variables-e db: - # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server - image: mariadb:lts + image: mariadb:10.11 command: --transaction-isolation=READ-COMMITTED restart: always volumes: @@ -16,7 +15,7 @@ services: - db.env # Note: Redis is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/redis + # https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration redis: image: redis:alpine restart: always @@ -39,13 +38,12 @@ 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-slim + image: nginx:alpine restart: always ports: - 127.0.0.1:8080:80 volumes: - # https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html - - ./web/nginx.conf:/etc/nginx/nginx.conf:ro + - ./web/nginx.conf:/etc/nginx/nginx.conf:ro # https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html # NOTE: The `volumes` included below should match those of the `app` container (unless you know what you're doing) - nextcloud:/var/www/html:z,ro depends_on: diff --git a/.examples/docker-compose/insecure/postgres/apache/compose.yaml b/.examples/docker-compose/insecure/postgres/apache/compose.yaml index 8ae34013..3f863303 100644 --- a/.examples/docker-compose/insecure/postgres/apache/compose.yaml +++ b/.examples/docker-compose/insecure/postgres/apache/compose.yaml @@ -1,9 +1,8 @@ services: # Note: PostgreSQL is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/postgres + # https://github.com/docker-library/docs/blob/master/postgres/README.md db: - # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server - image: postgres:alpine + image: postgres:16-alpine restart: always volumes: - db:/var/lib/postgresql/data:Z @@ -11,7 +10,7 @@ services: - db.env # Note: Redis is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/redis + # https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration redis: image: redis:alpine restart: always diff --git a/.examples/docker-compose/insecure/postgres/fpm/compose.yaml b/.examples/docker-compose/insecure/postgres/fpm/compose.yaml index 8a88afd4..dfe3002f 100644 --- a/.examples/docker-compose/insecure/postgres/fpm/compose.yaml +++ b/.examples/docker-compose/insecure/postgres/fpm/compose.yaml @@ -1,9 +1,8 @@ services: # Note: PostgreSQL is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/postgres + # https://github.com/docker-library/docs/blob/master/postgres/README.md db: - # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server - image: postgres:alpine + image: postgres:16-alpine restart: always volumes: - db:/var/lib/postgresql/data:Z @@ -11,7 +10,7 @@ services: - db.env # Note: Redis is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/redis + # https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration redis: image: redis:alpine restart: always @@ -34,13 +33,12 @@ 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-slim + image: nginx:alpine restart: always ports: - 127.0.0.1:8080:80 volumes: - # https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html - - ./web/nginx.conf:/etc/nginx/nginx.conf:ro + - ./web/nginx.conf:/etc/nginx/nginx.conf:ro # https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html # NOTE: The `volumes` included below should match those of the `app` container (unless you know what you're doing) - nextcloud:/var/www/html:z,ro depends_on: 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 e1132818..1af9fb94 100644 --- a/.examples/docker-compose/with-nginx-proxy/mariadb/apache/compose.yaml +++ b/.examples/docker-compose/with-nginx-proxy/mariadb/apache/compose.yaml @@ -1,9 +1,8 @@ services: # Note: MariaDB is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/mariadb + # https://docs.linuxserver.io/images/docker-mariadb/#environment-variables-e db: - # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server - image: mariadb:lts + image: mariadb:10.11 command: --transaction-isolation=READ-COMMITTED restart: always volumes: @@ -16,7 +15,7 @@ services: - db.env # Note: Redis is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/redis + # https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration redis: image: redis:alpine restart: always @@ -75,7 +74,7 @@ services: - proxy-tier # Note: Letsencrypt companion is an external service. You can find more information about the configuration here: - # https://hub.docker.com/r/nginxproxy/acme-companion + # https://github.com/nginx-proxy/acme-companion/tree/main/docs#readme letsencrypt-companion: image: nginxproxy/acme-companion restart: always 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 13d4a40b..edc17ae1 100644 --- a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/compose.yaml +++ b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/compose.yaml @@ -1,9 +1,8 @@ services: # Note: MariaDB is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/mariadb + # https://docs.linuxserver.io/images/docker-mariadb/#environment-variables-e db: - # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server - image: mariadb:lts + image: mariadb:10.11 command: --transaction-isolation=READ-COMMITTED restart: always volumes: @@ -16,7 +15,7 @@ services: - db.env # Note: Redis is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/redis + # https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration redis: image: redis:alpine restart: always @@ -40,11 +39,10 @@ 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-slim + image: nginx:alpine restart: always volumes: - # https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html - - ./web/nginx.conf:/etc/nginx/nginx.conf:ro + - ./web/nginx.conf:/etc/nginx/nginx.conf:ro # https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html # NOTE: The `volumes` included below should match those of the `app` container (unless you know what you're doing) - nextcloud:/var/www/html:z,ro environment: @@ -88,7 +86,7 @@ services: - proxy-tier # Note: Letsencrypt companion is an external service. You can find more information about the configuration here: - # https://hub.docker.com/r/nginxproxy/acme-companion + # https://github.com/nginx-proxy/acme-companion/tree/main/docs#readme letsencrypt-companion: image: nginxproxy/acme-companion restart: always 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 035359f0..a5e98585 100644 --- a/.examples/docker-compose/with-nginx-proxy/postgres/apache/compose.yaml +++ b/.examples/docker-compose/with-nginx-proxy/postgres/apache/compose.yaml @@ -1,9 +1,8 @@ services: # Note: PostgreSQL is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/postgres + # https://github.com/docker-library/docs/blob/master/postgres/README.md db: - # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server - image: postgres:alpine + image: postgres:16-alpine restart: always volumes: - db:/var/lib/postgresql/data:Z @@ -11,7 +10,7 @@ services: - db.env # Note: Redis is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/redis + # https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration redis: image: redis:alpine restart: always @@ -69,7 +68,7 @@ services: - proxy-tier # Note: Letsencrypt companion is an external service. You can find more information about the configuration here: - # https://hub.docker.com/r/nginxproxy/acme-companion + # https://github.com/nginx-proxy/acme-companion/tree/main/docs#readme letsencrypt-companion: image: nginxproxy/acme-companion restart: always 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 78654edd..2d419ddb 100644 --- a/.examples/docker-compose/with-nginx-proxy/postgres/fpm/compose.yaml +++ b/.examples/docker-compose/with-nginx-proxy/postgres/fpm/compose.yaml @@ -1,9 +1,8 @@ services: # Note: PostgreSQL is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/postgres + # https://github.com/docker-library/docs/blob/master/postgres/README.md db: - # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server - image: postgres:alpine + image: postgres:16-alpine restart: always volumes: - db:/var/lib/postgresql/data:Z @@ -11,7 +10,7 @@ services: - db.env # Note: Redis is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/redis + # https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration redis: image: redis:alpine restart: always @@ -35,11 +34,10 @@ 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-slim + image: nginx:alpine restart: always volumes: - # https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html - - ./web/nginx.conf:/etc/nginx/nginx.conf:ro + - ./web/nginx.conf:/etc/nginx/nginx.conf:ro # https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html # NOTE: The `volumes` included below should match those of the `app` container (unless you know what you're doing) - nextcloud:/var/www/html:z,ro environment: @@ -83,7 +81,7 @@ services: - proxy-tier # Note: Letsencrypt companion is an external service. You can find more information about the configuration here: - # https://hub.docker.com/r/nginxproxy/acme-companion + # https://github.com/nginx-proxy/acme-companion/tree/main/docs#readme letsencrypt-companion: image: nginxproxy/acme-companion restart: always diff --git a/README.md b/README.md index 3be70217..a2f1c426 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ Database: ```console $ docker run -d \ -v db:/var/lib/mysql \ -mariadb:lts +mariadb:10.11 ``` ### Additional volumes @@ -404,10 +404,9 @@ Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` varia ```yaml services: # Note: MariaDB is external service. You can find more information about the configuration here: - # https://hub.docker.com/_/mariadb + # https://docs.linuxserver.io/images/docker-mariadb/#environment-variables-e db: - # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server - image: mariadb:lts + image: mariadb:10.11 restart: always command: --transaction-isolation=READ-COMMITTED volumes: @@ -419,7 +418,7 @@ services: - MYSQL_USER=nextcloud # Note: Redis is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/redis + # https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration redis: image: redis:alpine restart: always @@ -457,10 +456,9 @@ Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` varia ```yaml services: # Note: MariaDB is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/mariadb + # https://docs.linuxserver.io/images/docker-mariadb/#environment-variables-e db: - # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server - image: mariadb:lts + image: mariadb:10.11 restart: always command: --transaction-isolation=READ-COMMITTED volumes: @@ -472,7 +470,7 @@ services: - MYSQL_USER=nextcloud # Note: Redis is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/redis + # https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration redis: image: redis:alpine restart: always @@ -494,15 +492,14 @@ 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-slim + image: nginx:alpine restart: always ports: - 8080:80 depends_on: - app volumes: - # https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html - - ./nginx.conf:/etc/nginx/nginx.conf:ro + - ./nginx.conf:/etc/nginx/nginx.conf:ro # https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html volumes_from: - app @@ -528,10 +525,9 @@ Example: ```yaml services: # Note: PostgreSQL is external service. You can find more information about the configuration here: - # https://hub.docker.com/_/postgres + # https://github.com/docker-library/docs/blob/master/postgres/README.md db: - # Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server - image: postgres:alpine + image: postgres:16-alpine restart: always volumes: - db:/var/lib/postgresql/data @@ -544,7 +540,7 @@ services: - postgres_password - postgres_user # Note: Redis is an external service. You can find more information about the configuration here: - # https://hub.docker.com/_/redis + # https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration redis: image: redis:alpine restart: always