Closed laurigates closed 2 years ago
Good stuff, thanks! I agree the config file could probably be done better - this method was just a quick start when I first wrote it.
What we should probably do is use a .env file then we avoid the extra file like you say. I'll open another ticket for this
@laurigates if you have a moment could you check my latest changes to use .env still work with your docker container?
@laurigates if you have a moment could you check my latest changes to use .env still work with your docker container?
Thanks! Tested it and it works in the general sense, but I described an issue here #18.
Created a basic Dockerfile and docker-compose configuration. The user should only have to deal with mounting the logs and maps directories into the container and specifying the token, channel and rcon password using environment variables.
I created a separate configuration file that reads zomboi config values from environment variables that is copied into the container. This probably could be implemented more directly so a separate file is not needed.