Didstopia / 7dtd-server

Provides a dedicated linux server for 7 Days to Die running inside a Docker container.
MIT License
108 stars 45 forks source link

Docker-compose and ENV #41

Closed cryptton2004 closed 3 years ago

cryptton2004 commented 3 years ago

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:

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).