Oddbean new post about | logout
 I've got a spare VM running Debian, and a domain. How hard is this to get running? I've got basic Linux knowledge. Maybe it's time to run a relay? 
 Feels like one of those basic skills we should have doesn’t it?
Install Linux, set up a basic web server, set up a basic relay…etc. 
 Not hard at all. Would probably submit a PR to improve the current docker-compose setup.  
 I'm trying but have no experience with go. I think I'm getting an error on the "go build" step.

github.com/PowerDNS/lmdb-go/lmdb: build constraints exclude all Go files in /home/nostr/go/pkg/mod/github.com/!power!d!n!s/lmdb-go@v1.9.2 
 U need build essentials as well  
 🤙 
 As in sudo apt install build-essential 
 Done, working on it. Thanks, I thought I had it installed on this box already. I'm dumb 😂 
 😎👌
https://i.nostr.build/wPeeZsMlCYglGECy.jpg 
 Second question. How do I enable wss for this? 
 Certbot. I just updated readme with some instructions on it 
 Hmm. I've tried, and everything seemed to work.

I added your nginx config and have it enabled. I ran certbot successfully. I can see the index.html successfully over https. Still I can't connect to the relay via wss, but it works when I use ws: 
 Would a sample docker-compose file with traefik and the wot relay setup be useful? This is what I currently use. 
 Sure, I can take a look, I'd love to get this running. I'm not familiar with these, but I've got LLM on my side. 
 https://github.com/gbozee/wot-relay/blob/master/docker-compose.yml

you would want to replace the host settings (line 28) with your domain/subdomain. Starting both services should be fine. Also I reduced the size of the final docker image.  
 I'm going to look into that, I think I need to learn docker. For now I have it successfully connecting over wss! Except it just gives errors. OK 😅 https://i.nostr.build/BQNOu5UxkpKQyZo4.jpg
 
 I got that in windows. On Linux things were Working fine.