Docker image - ignoring configuration #1042
Unanswered
stephematician
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was experimenting with isso on my local machine using docker (rootless, but I believe this is irrelevant), but I was not able to change the configuration when invoking the container.
Steps
I was able to get a comment box to appear using the following:
docker command:
config in
/home/username/isso/config/isso.cfg
:and
localhost:1313
being served by Hugo with<script>
tags as per isso instructions.However, I do not believe it was using the configuration I expect. For example, if I tried to use port to 8181 via:
updated docker command:
updated config:
and I updated the
<script>
tags to refer to port 8181.The comment box doesn't appear (and I get CONNECTION RESET errors if i try to navigate to
127.0.0.1:8181/js/embed.js
).I can see that the isso process that was spawned (inside the container) is not watching port 8181 via netstat:
If I try running isso manually within the container, then it does use the configuration I expect, e.g.:
It is definitely listening to the port now, e.g.
netstat
.And the comment box is appearing.
Am I doing something wrong when I invoke docker? I tried argument
-e ISSO_SETTINGS=/config/isso.cfg
but it made no difference.Also, if anyone has any hints about the WARNING that isso is giving me, that would be helpful <- I believe this is due to rootless docker, which might be tricky to overcome.
Beta Was this translation helpful? Give feedback.
All reactions