Hi, hi installed ghost on my machine with docker,
I followed the official tutorial and the official image.
I used this comand
docker run -d --name some-ghost -e url=http://my-server-adress.com -p 80:2368 ghost
because the standard comand
docker run -d --name some-ghost ghost
doesn’t show me ghost in my-server-adress.com:2368 (the door is open)
So, i configured ghost from my-server-adress.com/ghost,
but i have a lot of problem:
- I can’t invite staff because ghost tell me to configure mail service (direct mail no works…)
- I go on the container and i open the terminal:
i use ghost cli for configurate the email service with my gmail credentials
after this, the comand ghost restart doesn’t work because im the root user.
so, i switch my user to node user, but i have another error:
so, at this point, i restart the docker container, but after this comand, the website return me a 502 error.
when i go to check the config.production.json file i see two difference:
the port was 2368 now is 2369, the host ip was 0.0.0.0 now is 127.0.0.1…
so, after this change im not able to use ghost again, i need to create another container!
who can help me?