Add LavalinkServer Dockerfile#74
Conversation
|
I believe it is bad practice to hardcode the config values into the image |
|
I have put the defaults into the dockerfile, they are meant to be overidden using the |
|
Better practice would be to use volumes |
|
The goal here was to use OS environment vars as the main source of the configuration. |
|
I disagree that volumes are a better practices. Docker containers should not have an open link to the host if its not needed. And considering Lavalink is pretty stateless in itself it would be a waste. |
* Add LavalinkServer dockerfile * Raise Xmx value * Remove ENV Vars
This is to be built assuming you have compiled the jars with gradle initally, as discussed with Napster this could be used for an official docker image in the future.
docker build -f LavalinkServer/docker/Dockerfile -t lavalink .