Woa neat, can I try this out already? Running a relay with PHP? That's something on my backlog as well.

Reply to this note

Please Login to reply.

Discussion

I have it running on wss://nostr.rikmeijer.nl, just spin up the docker (with the env vars in env.example)

If everything works it sends you a message that it is availble. Very curious if you can get it up and running and the amount of effort it took (and other fewdback)

What I was thinking next was leveraging all these php shared hosting as nostr cdn using php. That language is still used on many hosting platforms and that way you could set up some kind of content delivery network using that

I just added a brief readme with an outline on how to get the docker container running. I run it through portainer and put a caddy reverse proxy in front of it to make it public

Great! I hope I can find some time to test it out soon.

Could you add the Dockerfile to the repo too?

My bad, I overlooked https://github.com/rikmeijer/transpher/tree/main/docker when I was checking the docker-compose.yml which uses a pre-build image.

Docker compose in the root, dockerfiles are under directory docker.