ItzNotABug / ghosler

Send newsletter emails to your Ghost CMS subscribers & members, using your own email credentials!
Apache License 2.0
47 stars 5 forks source link

Container Build #31

Closed psharma04 closed 6 months ago

psharma04 commented 8 months ago

It would be nice to have a containerised version of this (via Dockerfile or other means).

ItzNotABug commented 8 months ago

Hey @psharma04, That would be a good idea but I do not have enough experience with Docker. If you do, a PR would be great!

In the meantime, you could use the ghosler-cli which is pretty straightforward to manage the app.

Thanks.

viriatusX commented 8 months ago

I currently have an Ubuntu VM running 24/7 for Ghosler. A Docker version would be awesome. See if any users can help 🙏.

viriatusX commented 7 months ago

Hi! @ItzNotABug

Captura de pantalla 2024-03-03 a las 14 33 49

I have managed to get Ghosler in Docker, but there is a bug. When I run "ghosler restart" it shows this error and does not work.

Any ideas?

ItzNotABug commented 7 months ago

What process names are returned if you do pm2 ls?

viriatusX commented 7 months ago

What process names are returned if you do pm2 ls?

Nothing..

Captura de pantalla 2024-03-03 a las 14 38 17
ItzNotABug commented 7 months ago

I am not sure if ghosler is installed in the docker container. If it is, I am not sure how you got it started? (node app.js?) The container must have access to the pm2 which manages the whole ghosler instance for restarts, updates, etc.

viriatusX commented 7 months ago

I am not sure if ghosler is installed in the docker container. If it is, I am not sure how you got it started? (node app.js?) The container must have access to the pm2 which manages the whole ghosler instance for restarts, updates, etc.

Ok, for now:

ItzNotABug commented 7 months ago

Using node app.js is probably fine inside a docker container and you may not even need PM2 for this. Of-course I could be wrong due to my limited experience with Docker.

viriatusX commented 7 months ago

Ready. I got it through "pm2-runtime". I will publish a tutorial this week in my Blog. Ghosler can officially run on Docker :)

ItzNotABug commented 7 months ago

That's great 🚀! Waiting for the article!

viriatusX commented 6 months ago

The tutorial is ready! 🚀

Ghosler Docker

ItzNotABug commented 6 months ago

Hey @viriatusX, I just checked it as I received it on email 🚀.

I'll add a step on README.md for this & keep this issue open anyway. Thanks a ton.

ItzNotABug commented 6 months ago

Hey @psharma04, @viriatusX, An official support for Docker x Ghosler is now possible out of the box.

Closing this!