mirror of
https://github.com/nextcloud/docker.git
synced 2025-06-14 15:34:48 +02:00
Added hint to set passwords
This commit is contained in:
parent
6ff16852d3
commit
98be678220
1 changed files with 5 additions and 1 deletions
|
@ -88,6 +88,8 @@ At first make sure you have chosen the right base image (fpm or apache) and adde
|
|||
## Base version - apache
|
||||
This version will use the apache image and add a mariaDB container. The volumes are set to keep your data persistent. This setup provides **no ssl encryption** and is intended to run behind a proxy.
|
||||
|
||||
Make sure to set the variables `MYSQL_ROOT_PW` and `MYSQL_USER_PW` before you run this setup.
|
||||
|
||||
```yaml
|
||||
version: '2'
|
||||
|
||||
|
@ -120,7 +122,9 @@ services:
|
|||
## Base version - FPM
|
||||
When using the FPM image you need another container that acts as web server on port 80 and proxies the requests to the Nextcloud container. In this example a simple nginx container is combindes with the Nextcloud-fpm image and a MariaDB database container. The data is stored in docker volumes. The nginx container also need access to static files from your Nextcloud installation. It gets access to all the volumes mounted to Nextcloud via the `volumes_from` option.The configuration for nginx is stored in the configuration file `nginx.conf`, that is mounted into the container. An example can be found in the examples section [here](https://github.com/nextcloud/docker/tree/master/.examples).
|
||||
|
||||
As this setup does **not include ecryption** it should to be run behind a proxy.
|
||||
As this setup does **not include ecryption** it should to be run behind a proxy.
|
||||
|
||||
Make sure to set the variables `MYSQL_ROOT_PW` and `MYSQL_USER_PW` before you run this setup.
|
||||
|
||||
```yaml
|
||||
version: '2'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue