From 9deedd87840ba82e40cda69729bc285c4fe8ff5b Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Sat, 4 Jan 2020 12:34:45 +0100 Subject: [PATCH] Update README.md --- docker/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/README.md b/docker/README.md index a3829fb5..68099b51 100644 --- a/docker/README.md +++ b/docker/README.md @@ -41,7 +41,7 @@ Download [docker-compose/default/docker-compose.yml](docker-compose/default/dock Edit `docker-compose.yml` to point the volumes to the right `image` and `tmp` directories. Edit `nginx.conf` by replacing `yourdomain.com` to you domain address. -**Note**: Do not change the `image` and the `tmp` path in the `config.json` or in the UI, only through the `volume` settings of the docker. see [here](https://github.com/bpatrik/pigallery2/issues/114#issuecomment-570006336) +**Note**: Do not change the `image` and the `tmp` path in the `config.json` or in the UI, only through the `volume` settings of the docker. See [here](https://github.com/bpatrik/pigallery2/issues/114#issuecomment-570006336) and [here](https://github.com/bpatrik/pigallery2/issues/119). **Note:** We are using nginx as reverse proxy to handle https and do proper HTTP queuing, gzipping, etc. Full nginx-based docker-compose tutorial [here](https://www.domysee.com/blogposts/reverse-proxy-nginx-docker-compose). @@ -64,7 +64,7 @@ docker-compose up -d After the containers are up and running, you go to `yourdomain.com` and log in with user: `admin` pass: `admin` and set up the page in the settings. **Note:** `docker-compose.yml` contains `restart:always`, so the containers will be automatically started after reboot ([read more here](https://stackoverflow.com/questions/43671482/how-to-run-docker-compose-up-d-at-system-start-up)). - + #### I.2 upgrade to newer version ```bash @@ -92,6 +92,8 @@ After the container is up and running, you go to `http://localhost` and log in w **Note**: even with `memory` db, pigallery2 creates a db file for storing user credentials (if enabled), so mounting (with `-v`) the `/app/data/db` folder is recommended. +**Note2**: Do not change the `image` and the `tmp` path in the `config.json` or in the UI, only through the `volume` settings of the docker. See [here](https://github.com/bpatrik/pigallery2/issues/114#issuecomment-570006336) and [here](https://github.com/bpatrik/pigallery2/issues/119). + ### II.a before v1.7.0 There was a breaking change in Docker files after v1.7.0. Use this to run earlier versions: