mirror of
https://github.com/nextcloud/docker.git
synced 2025-07-18 21:48:04 +02:00
Updated examples
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
This commit is contained in:
parent
86ab9d769c
commit
2bfd475b13
17 changed files with 96 additions and 35 deletions
18
README.md
18
README.md
|
@ -403,6 +403,8 @@ 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
|
||||
db:
|
||||
image: mariadb:10.11
|
||||
restart: always
|
||||
|
@ -415,6 +417,8 @@ services:
|
|||
- MYSQL_DATABASE=nextcloud
|
||||
- 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
|
||||
redis:
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
|
@ -451,6 +455,8 @@ 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
|
||||
db:
|
||||
image: mariadb:10.11
|
||||
restart: always
|
||||
|
@ -463,6 +469,8 @@ services:
|
|||
- MYSQL_DATABASE=nextcloud
|
||||
- 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
|
||||
redis:
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
|
@ -481,15 +489,17 @@ services:
|
|||
- MYSQL_USER=nextcloud
|
||||
- MYSQL_HOST=db
|
||||
|
||||
# Note: Nginx is an external service. You can find more information about the configuration here:
|
||||
# https://hub.docker.com/_/nginx/
|
||||
web:
|
||||
image: nginx
|
||||
image: nginx:alpine
|
||||
restart: always
|
||||
ports:
|
||||
- 8080:80
|
||||
depends_on:
|
||||
- app
|
||||
volumes:
|
||||
- ./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
|
||||
|
||||
|
@ -514,6 +524,8 @@ 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
|
||||
db:
|
||||
image: postgres
|
||||
restart: always
|
||||
|
@ -527,6 +539,8 @@ services:
|
|||
- postgres_db
|
||||
- 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
|
||||
redis:
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue