I’m running a Ghost blog on Ubuntu 18.04 droplet (using one-click installation).
Ghost blog is running at: dev.mydomain.com (dev.mydomain.com routes to this droplet’s IP)
I’d like to integrate ISSO comments to this using their Docker installation.
To do this, I am running an ISSO Docker container and updating the Nginx proxy settings to route requests to it
Installed Docker based on instructions here.
Ran the following command:
docker run -d --name=isso -p 127.0.0.1:8080:8080 -v /var/lib/isso/config:/config -v /var/lib/isso/db:/db wonderfall/isso:latest
Updated the /var/lib/isso/config/isso.conf to:
[general]
dbpath = /db/comments.db
host = http://dev.mydomain.com/
max-age=15d
[moderation]
enabled = false
[guard]
enabled = false
[server]
listen = http://0.0.0.0:8080/
reload = off
profile = off
Test if ISSO is up and running or not using:
docker exec isso isso -c /var/lib/isso/config/isso.conf run
This returns an error:
ERROR: No website(s) configured, Isso won't work.
Nginx configs:
/etc/nginx/sites-available/
server {
listen 80;
listen [::]:80;
server_name dev.mydomain.com;
root /var/www/ghost/system/nginx-root;
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://127.0.0.1:2368;
}
location ~ /.well-known {
allow all;
}
client_max_body_size 50m;
}
server {
listen 80;
listen [::]:80;
server_name dev-comments.mydomain.com;
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://127.0.0.1:8080;
}
location ~ /.well-known {
allow all;
}
client_max_body_size 50m;
}
I need help understanding this and setting it up. What is wrong with the above and how do I address it?
Thanks in advance!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hey friend,
Seems fairly straight forward, but I’ve never used this comment system before. I assume the reverse proxy works fine if you solve the first issue with running the app. What error do you get when starting up the docker container?
Jarland