Skip to content
Discussion options

You must be logged in to vote

You shouldn't build a custom docker image just to change the port; instead do something like this in the config:

[general]
dbpath = /db/comments.db
host =
    http://localhost:1313/
[server]
# this is to match what's hardcoded in the ENTRYPOINT in the Dockerfile
listen = http://0.0.0.0:8080
# this tells isso what the actual URL is
public-endpoint = http://127.0.0.1:8181

And in your docker command, map port 8181 on the host onto 8080 inside the container, like this: -p 127.0.0.1:8181:8080. This should be enough to make isso accessible at http://127.0.0.1:8181. If you want a different URL then just make sure to also change public-endpoint to match.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@BBaoVanC
Comment options

Answer selected by stephematician
@stephematician
Comment options

@BBaoVanC
Comment options

@stephematician
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1041 on October 17, 2024 00:42.