pstuifzand / ekster

microsub server
GNU General Public License v3.0
27 stars 4 forks source link

Use a different published port in docker-compose.yml #8

Closed skpy closed 5 years ago

skpy commented 6 years ago

When running this via docker-compose, it's quite possible that the host will already have something listening to TCP port 80, making the port declaration in docker-compose.yml not work as desired.

Maybe use 8000:80 or 8080:80 or something, instead?

pstuifzand commented 6 years ago

I think the docker-compose.yml should be viewed more as an example. It's not the docker-compose.yml file that I use, but it contains everything that you need to get started. I was already up to 8090 for my dev testing, so what the default should be, I don't know. I could add a way to add environment variables, so it's possible to set it from the outside, with the ".env" file.

pstuifzand commented 5 years ago

The latest docker-compose.yml file uses port 8089.