Fixed port conflict in the .env example

Both nginx-proxy and ownCloud try to listen on port 80 if users follow the example in the current README.md
This commit is contained in:
Emerson Hall 2019-03-07 21:06:55 -05:00 committed by GitHub
parent 597d5ea897
commit 100d966f45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,10 +20,12 @@ OWNCLOUD_VERSION=10.0
OWNCLOUD_DOMAIN=localhost OWNCLOUD_DOMAIN=localhost
ADMIN_USERNAME=admin ADMIN_USERNAME=admin
ADMIN_PASSWORD=admin ADMIN_PASSWORD=admin
HTTP_PORT=80 HTTP_PORT=8080
EOF EOF
``` ```
The webserver is nginx-proxy and it will listen on ports 80 and 443 by default, redirecting traffic to HTTPS for your ownCloud instance. The HTTP_PORT environment variable sets which port ownCloud itself will listen.
Change the hostname variables above and in the `docker-compose.yml` file as necessary specifically the variables in the owncloud service environment block: Change the hostname variables above and in the `docker-compose.yml` file as necessary specifically the variables in the owncloud service environment block:
```yml ```yml