evan-buss / openbooks

Search and Download eBooks
https://evan-buss.github.io/openbooks/
MIT License
1.87k stars 59 forks source link

Changing Listen port #103

Closed abominalizer closed 2 years ago

abominalizer commented 2 years ago

How can I change the listen port from 80 to whatever?

evan-buss commented 2 years ago

Using Docker? Just publish the container port 80 to whatever port you'd like. So if you wanted to run it on port 8080 you'd use docker run -p 8080:80 evanbuss/openbooks.

For the executable, use the --port flag.