I modified the project a lil' bit to support the usage of an .env file where you could store passwords and such.
Also created the docker-compose file for people using the composer (just seems faster for me to jump in a repo and hit: docker-compose up -d)
This required:
addition of a .env-sample
touched Dockerfile to add variables support
addition of a docker-compose.yml file with sample data already filled in.
modification of the readme file
However:
The are other commits that I've made over time included in this merge request that are not necessarily needed, like:
modification of ENV SEVEN_DAYS_TO_DIE_START_MODE to "2" in Dockerfile
modification of docker_run.ps1 to fit my needs
modification of echo "Running as user : $(whoami)" - added an extra space.
exposing ports 8080 and 8081. This is required if you have mods or apps that interact with your server. Like discord bots or server managers. They are directly linked with the requirements of THOSE projects, not this one.
I either did not want to change those in my repo since I use them (variables) or I did not want to cherry pick where I added extra spaces if the effort is not required. Thus, I'm submitting this 'as is'. Works fine on my instances. Might serve as inspiration to others even if this gets rejected. I see that you don't use .ENV on your dedicated server projects but having this would provide a higher level of abstractization and allow you to recycle stuff easier (like the Valheim server).
Hello,
I modified the project a lil' bit to support the usage of an .env file where you could store passwords and such. Also created the docker-compose file for people using the composer (just seems faster for me to jump in a repo and hit:
docker-compose up -d
) This required:However: The are other commits that I've made over time included in this merge request that are not necessarily needed, like:
echo "Running as user : $(whoami)"
- added an extra space.I either did not want to change those in my repo since I use them (variables) or I did not want to cherry pick where I added extra spaces if the effort is not required. Thus, I'm submitting this 'as is'. Works fine on my instances. Might serve as inspiration to others even if this gets rejected. I see that you don't use .ENV on your dedicated server projects but having this would provide a higher level of abstractization and allow you to recycle stuff easier (like the Valheim server).