Open hycday opened 6 days ago
so I tried something else, I modified development.mjs, pointing to the crt and key file of my domain, tried to run again, then checked the logs of the docker container and i see this :
2024-06-26T21:46:07.163Z KILL THE NEWSLETTER! 2.0.7 START https://sub.mydomain.tld
2024-06-26T21:46:08.076Z KILL THE NEWSLETTER! 2.0.7 START server 18000
2024-06-26T21:46:08.099Z SERVER 18000 START
2024-06-26T21:46:08.125Z KILL THE NEWSLETTER! 2.0.7 START backgroundJob 18001
2024-06-26T21:46:08.252Z KILL THE NEWSLETTER! 2.0.7 START server 18001
2024-06-26T21:46:08.255Z KILL THE NEWSLETTER! 2.0.7 START email
2024-06-26T21:46:08.268Z SERVER 18001 START
2024-06-26T21:46:08.266Z KILL THE NEWSLETTER! 2.0.7 START backgroundJob 18000
however, when going to sub.mydomain.tld I get a blank page....
Hi team,
I am trying to run a version of KtN locally hosted. However, I am not that familiar with deployment of node, but I feel at ease with Docker.
I think I am also done, but some last part is missing. Once done I would be glad to provide full instructions for anyone to run it locally using Docker.
So, I have the following Dockerfile file:
and I have the following docker-compose.yml file:
I did run a
docker-compose up -d --build
command I can see that the container is properly running withdocker ps -a
when I go to http://sub.mydomain.tld:8000 (my domain is different of course) nothing happens, same without the 8000 port. DNS is properly configured.
When i check the docker logs of the container I see the following error (looping):
and here is where I am lost now...
When I look at your video @leafac here https://youtu.be/507WU47x8HI?t=2666 I see that there is a reference to some js file (which i see here https://github.com/leafac/kill-the-newsletter/tree/main/configuration) but I am using caddy to handle the certificates parts...therefore I am not sure how to solve this one (or even if this is actually the issue).
Any help would be welcomed. I understand that this is Docker and not official per se, but the issue I am having is with deploying the app itself anyway and even if I don't use Docker I believe I would ran to the same issue more or less.
Thanks for any help
Note: I know issue is similar to https://github.com/leafac/kill-the-newsletter/issues/103 but it is not exactly the same, so didn't want to hijack his thread