mirror of
https://github.com/nextcloud/docker.git
synced 2025-05-22 07:20:54 +02:00
Unified across files / updated README file.
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
This commit is contained in:
parent
2b3107ab68
commit
dc73c15838
7 changed files with 23 additions and 14 deletions
|
@ -2,7 +2,8 @@ services:
|
||||||
# Note: MariaDB is an external service. You can find more information about the configuration here:
|
# 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://docs.linuxserver.io/images/docker-mariadb/#environment-variables-e
|
||||||
db:
|
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
|
command: --transaction-isolation=READ-COMMITTED
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -2,7 +2,8 @@ services:
|
||||||
# Note: PostgreSQL is an external service. You can find more information about the configuration here:
|
# 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://github.com/docker-library/docs/blob/master/postgres/README.md
|
||||||
db:
|
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
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/postgresql/data:Z
|
- 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:
|
# Note: Nginx is an external service. You can find more information about the configuration here:
|
||||||
# https://hub.docker.com/_/nginx/
|
# https://hub.docker.com/_/nginx/
|
||||||
web:
|
web:
|
||||||
image: nginx:alpine
|
image: nginx:alpine-slim
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:8080:80
|
- 127.0.0.1:8080:80
|
||||||
|
|
|
@ -2,7 +2,8 @@ services:
|
||||||
# Note: MariaDB is an external service. You can find more information about the configuration here:
|
# 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://docs.linuxserver.io/images/docker-mariadb/#environment-variables-e
|
||||||
db:
|
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
|
command: --transaction-isolation=READ-COMMITTED
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -2,7 +2,8 @@ services:
|
||||||
# Note: MariaDB is an external service. You can find more information about the configuration here:
|
# 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://docs.linuxserver.io/images/docker-mariadb/#environment-variables-e
|
||||||
db:
|
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
|
command: --transaction-isolation=READ-COMMITTED
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -39,7 +40,7 @@ services:
|
||||||
# Note: Nginx is an external service. You can find more information about the configuration here:
|
# Note: Nginx is an external service. You can find more information about the configuration here:
|
||||||
# https://hub.docker.com/_/nginx/
|
# https://hub.docker.com/_/nginx/
|
||||||
web:
|
web:
|
||||||
image: nginx:alpine
|
image: nginx:alpine-slim
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
|
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
|
||||||
|
|
|
@ -2,7 +2,8 @@ services:
|
||||||
# Note: PostgreSQL is an external service. You can find more information about the configuration here:
|
# 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://github.com/docker-library/docs/blob/master/postgres/README.md
|
||||||
db:
|
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
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/postgresql/data:Z
|
- db:/var/lib/postgresql/data:Z
|
||||||
|
|
|
@ -2,7 +2,8 @@ services:
|
||||||
# Note: PostgreSQL is an external service. You can find more information about the configuration here:
|
# 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://github.com/docker-library/docs/blob/master/postgres/README.md
|
||||||
db:
|
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
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/postgresql/data:Z
|
- 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:
|
# Note: Nginx is an external service. You can find more information about the configuration here:
|
||||||
# https://hub.docker.com/_/nginx/
|
# https://hub.docker.com/_/nginx/
|
||||||
web:
|
web:
|
||||||
image: nginx:alpine
|
image: nginx:alpine-slim
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
|
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
|
||||||
|
|
13
README.md
13
README.md
|
@ -82,7 +82,7 @@ Database:
|
||||||
```console
|
```console
|
||||||
$ docker run -d \
|
$ docker run -d \
|
||||||
-v db:/var/lib/mysql \
|
-v db:/var/lib/mysql \
|
||||||
mariadb:10.11
|
mariadb:lts
|
||||||
```
|
```
|
||||||
|
|
||||||
### Additional volumes
|
### Additional volumes
|
||||||
|
@ -406,7 +406,8 @@ services:
|
||||||
# Note: MariaDB is external service. You can find more information about the configuration here:
|
# 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://docs.linuxserver.io/images/docker-mariadb/#environment-variables-e
|
||||||
db:
|
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
|
restart: always
|
||||||
command: --transaction-isolation=READ-COMMITTED
|
command: --transaction-isolation=READ-COMMITTED
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -458,7 +459,8 @@ services:
|
||||||
# Note: MariaDB is an external service. You can find more information about the configuration here:
|
# 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://docs.linuxserver.io/images/docker-mariadb/#environment-variables-e
|
||||||
db:
|
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
|
restart: always
|
||||||
command: --transaction-isolation=READ-COMMITTED
|
command: --transaction-isolation=READ-COMMITTED
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -492,7 +494,7 @@ services:
|
||||||
# Note: Nginx is an external service. You can find more information about the configuration here:
|
# Note: Nginx is an external service. You can find more information about the configuration here:
|
||||||
# https://hub.docker.com/_/nginx/
|
# https://hub.docker.com/_/nginx/
|
||||||
web:
|
web:
|
||||||
image: nginx:alpine
|
image: nginx:alpine-slim
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 8080:80
|
||||||
|
@ -527,7 +529,8 @@ services:
|
||||||
# Note: PostgreSQL is external service. You can find more information about the configuration here:
|
# 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://github.com/docker-library/docs/blob/master/postgres/README.md
|
||||||
db:
|
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
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/postgresql/data
|
- db:/var/lib/postgresql/data
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue