diff options
author | Tilo Spannagel <development@tilosp.de> | 2017-09-24 14:36:51 +0200 |
---|---|---|
committer | Tilo Spannagel <development@tilosp.de> | 2017-09-27 13:29:15 +0200 |
commit | eeb0d6a400bffd09e5e582eac302771a1947c57e (patch) | |
tree | 33547463379be67e00b7d34ccd4cbee39364eb26 | |
parent | 0548adf1c1055e4d06fd9f219399215ea32e65c9 (diff) |
Add insecure description
-rw-r--r-- | .examples/README.md | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/.examples/README.md b/.examples/README.md index 4dff0e31..063cd134 100644 --- a/.examples/README.md +++ b/.examples/README.md @@ -28,7 +28,17 @@ Before running the examples you have to modify the `db.env` and `docker-compose. The docker-compose examples make heavily use of dereived Dockerfiles to add configuration files into the containers. This way they should also work on remote docker systems as _Docker for Windows_. When running docker-compose on the same host as the docker daemon, another possibility would be to simply mount the files in the volumes section in the `docker-compose.yml` file. -**TODO: ADD INSECURE DESCRIPTION** +### insecure + +To use this example complete the following steps: + +1. if you use mariadb or mysql choose a root password for the database in `docker-compose.yml` behind `MYSQL_ROOT_PASSWORD=` +2. choose a password for the database user nextcloud in `db.env` behind `MYSQL_PASSWORD=` (for mariadb/mysql) or `POSTGRES_PASSWORD=` (for postgres) +3. run `docker-compose build --pull` to pull the most recent base images and build the custom dockerfiles +4. start nextcloud with `docker-compose up -d` + + +If you want to update your installation to a newer version of nextcloud, repeat the steps 3 and 4. ### with-nginx-proxy @@ -41,9 +51,8 @@ To use this example complete the following steps: 1. open `docker-compose.yml` 1. insert your nextcloud domain behind `VIRTUAL_HOST=`and `LETSENCRYPT_HOST=` 2. enter a valid email behind `LETSENCRYPT_EMAIL=` - 3. choose a root password for the database behind `MYSQL_ROOT_PASSWORD=` - 4. enter your collabora domain behind `domain=` -2. choose a password for the database user nextcloud in `db.env` behind `MYSQL_PASSWORD=` + 3. if you use mariadb or mysql choose a root password for the database behind `MYSQL_ROOT_PASSWORD=` +2. choose a password for the database user nextcloud in `db.env` behind `MYSQL_PASSWORD=` (for mariadb/mysql) or `POSTGRES_PASSWORD=` (for postgres) 3. run `docker-compose build --pull` to pull the most recent base images and build the custom dockerfiles 4. start nextcloud with `docker-compose up -d` |