Phineas / lanyard

🏷️   Expose your Discord presence and activities to a RESTful API and WebSocket in less than 10 seconds
https://discord.gg/lanyard
MIT License
1k stars 142 forks source link

Add Docker support for self hosting #86

Closed makidoll closed 3 years ago

makidoll commented 3 years ago

I added Docker support! I've written some instructions in the readme. I'm not very familiar with elixir but I figured I had to create a runtime.exs so it would load BOT_TOKEN on runtime. I found more about that here: https://fly.io/docs/getting-started/elixir/#runtime-config

The final image is about 92 MB which is great for a Docker image. I'm not sure if you're familiar with publishing to Docker hub, but I'm happy to help. I use Docker daily and I'll gladly make a github actions pipeline if you'd like.

Finally, thank you for making this! I really love Lanyard.

I have it self hosted here: https://lanyard.cutelab.space Which my site is using, reducing some load: https://maki.cafe

barbarbar338 commented 3 years ago

Looks awesome!

Phineas commented 3 years ago

this is great - thank you so much!! I'll merge this then create the Docker Hub push action.

cute site btw! ❤️