Question
How to integrate ISSO comments on Ghost Blog?
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
ISSO Docker setup and test
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 for dev.mydomain.com and dev-comments.mydomain.com
Nginx configs:
/etc/nginx/sites-available/
dev.mydomain.com.conf
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;
}
dev-comments.mydomain.com.conf
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;
}
Problems/ questions:
- Running ISSO within the Docker container throws an error
- Nginx proxy setup
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.
×