0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-07-17 21:28:05 +02:00

Compare commits

...

7 commits

Author SHA1 Message Date
Kaloyan Nikolov
f1d57d8cf9 Use canonical links to external services.
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
2025-04-18 15:39:29 +00:00
Kaloyan Nikolov
dc73c15838 Unified across files / updated README file.
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
2025-04-18 15:15:29 +00:00
Kaloyan Nikolov
2b3107ab68 Moved another comment to new line
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
2025-04-18 14:39:47 +00:00
Kaloyan Nikolov
b0d2b409c5 Moved some comments on new lines.
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
2025-04-18 14:19:09 +00:00
Kaloyan Nikolov
b794772eee
Update .examples/docker-compose/insecure/mariadb/fpm/compose.yaml
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
2025-04-18 17:15:05 +03:00
Kaloyan Nikolov
3da9abd023
Update .examples/docker-compose/insecure/postgres/apache/compose.yaml
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
2025-04-18 17:14:57 +03:00
Kaloyan Nikolov
9362d983dc
Update .examples/docker-compose/insecure/mariadb/apache/compose.yaml
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
2025-04-18 17:14:27 +03:00
9 changed files with 64 additions and 48 deletions

View file

@ -1,8 +1,9 @@
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
# https://hub.docker.com/_/mariadb
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:
@ -15,7 +16,7 @@ services:
- db.env
# Note: Redis is an external service. You can find more information about the configuration here:
# https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always

View file

@ -1,8 +1,9 @@
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
# https://hub.docker.com/_/mariadb
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:
@ -15,7 +16,7 @@ services:
- db.env
# Note: Redis is an external service. You can find more information about the configuration here:
# https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always
@ -38,12 +39,13 @@ 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
volumes:
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro # https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro
# 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:

View file

@ -1,8 +1,9 @@
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
# https://hub.docker.com/_/postgres
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
@ -10,7 +11,7 @@ services:
- db.env
# Note: Redis is an external service. You can find more information about the configuration here:
# https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always

View file

@ -1,8 +1,9 @@
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
# https://hub.docker.com/_/postgres
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
@ -10,7 +11,7 @@ services:
- db.env
# Note: Redis is an external service. You can find more information about the configuration here:
# https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always
@ -33,12 +34,13 @@ 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
volumes:
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro # https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro
# 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:

View file

@ -1,8 +1,9 @@
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
# https://hub.docker.com/_/mariadb
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:
@ -15,7 +16,7 @@ services:
- db.env
# Note: Redis is an external service. You can find more information about the configuration here:
# https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always
@ -74,7 +75,7 @@ services:
- proxy-tier
# Note: Letsencrypt companion is an external service. You can find more information about the configuration here:
# https://github.com/nginx-proxy/acme-companion/tree/main/docs#readme
# https://hub.docker.com/r/nginxproxy/acme-companion
letsencrypt-companion:
image: nginxproxy/acme-companion
restart: always

View file

@ -1,8 +1,9 @@
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
# https://hub.docker.com/_/mariadb
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:
@ -15,7 +16,7 @@ services:
- db.env
# Note: Redis is an external service. You can find more information about the configuration here:
# https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always
@ -39,10 +40,11 @@ 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:
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro # https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro
# 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:
@ -86,7 +88,7 @@ services:
- proxy-tier
# Note: Letsencrypt companion is an external service. You can find more information about the configuration here:
# https://github.com/nginx-proxy/acme-companion/tree/main/docs#readme
# https://hub.docker.com/r/nginxproxy/acme-companion
letsencrypt-companion:
image: nginxproxy/acme-companion
restart: always

View file

@ -1,8 +1,9 @@
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
# https://hub.docker.com/_/postgres
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
@ -10,7 +11,7 @@ services:
- db.env
# Note: Redis is an external service. You can find more information about the configuration here:
# https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always
@ -68,7 +69,7 @@ services:
- proxy-tier
# Note: Letsencrypt companion is an external service. You can find more information about the configuration here:
# https://github.com/nginx-proxy/acme-companion/tree/main/docs#readme
# https://hub.docker.com/r/nginxproxy/acme-companion
letsencrypt-companion:
image: nginxproxy/acme-companion
restart: always

View file

@ -1,8 +1,9 @@
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
# https://hub.docker.com/_/postgres
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
@ -10,7 +11,7 @@ services:
- db.env
# Note: Redis is an external service. You can find more information about the configuration here:
# https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always
@ -34,10 +35,11 @@ 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:
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro # https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
- ./web/nginx.conf:/etc/nginx/nginx.conf:ro
# 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:
@ -81,7 +83,7 @@ services:
- proxy-tier
# Note: Letsencrypt companion is an external service. You can find more information about the configuration here:
# https://github.com/nginx-proxy/acme-companion/tree/main/docs#readme
# https://hub.docker.com/r/nginxproxy/acme-companion
letsencrypt-companion:
image: nginxproxy/acme-companion
restart: always

View file

@ -82,7 +82,7 @@ Database:
```console
$ docker run -d \
-v db:/var/lib/mysql \
mariadb:10.11
mariadb:lts
```
### Additional volumes
@ -404,9 +404,10 @@ 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://docs.linuxserver.io/images/docker-mariadb/#environment-variables-e
# https://hub.docker.com/_/mariadb
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:
@ -418,7 +419,7 @@ services:
- MYSQL_USER=nextcloud
# Note: Redis is an external service. You can find more information about the configuration here:
# https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always
@ -456,9 +457,10 @@ 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://docs.linuxserver.io/images/docker-mariadb/#environment-variables-e
# https://hub.docker.com/_/mariadb
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:
@ -470,7 +472,7 @@ services:
- MYSQL_USER=nextcloud
# Note: Redis is an external service. You can find more information about the configuration here:
# https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always
@ -492,14 +494,15 @@ 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
depends_on:
- app
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro # https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
- ./nginx.conf:/etc/nginx/nginx.conf:ro
volumes_from:
- app
@ -525,9 +528,10 @@ Example:
```yaml
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
# https://hub.docker.com/_/postgres
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
@ -540,7 +544,7 @@ services:
- postgres_password
- postgres_user
# Note: Redis is an external service. You can find more information about the configuration here:
# https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker/#configuration
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always