By islander
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!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.