mirror of
https://github.com/rorydavidson/owncloud-nginx-letsencrypt-docker.git
synced 2025-01-09 16:36:50 +01:00
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:
parent
597d5ea897
commit
100d966f45
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user