Wonderfall / dockerfiles

Discontinued. Fork at your will.
Creative Commons Zero v1.0 Universal
392 stars 170 forks source link

[nextcloud] How to bind port to nginx? #206

Closed rol1 closed 6 years ago

rol1 commented 7 years ago

Hi,

i'm trying to setup the nextcloud (and mariadb) latest on my samll home server. This server has nginx already running. I thougt i could "reach" nextcloud via 127.0.0.1:8888, which did not work. I can reach it via 172.17.0.3:8888. What do i have to do to reach it from my local net? I read the "Reverse proxy" chapter of the documentation, where you metion two possibilities: nginx on the host itselv, or in an extra docker container. But i don't know what do do here, if this is the solution.

Thank you very much

Roland

Wonderfall commented 6 years ago

Documentation updated.

What do i have to do to reach it from my local net?

Otherwise this can be solved by using docker-compose.yml to configure your nextcloud container:

ports:
  - 127.0.0.1:8888:8888