mirror of
				https://github.com/rorydavidson/owncloud-nginx-letsencrypt-docker.git
				synced 2025-11-04 10:01:25 +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:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user