-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server refuses to listen to the config.toml or the docker-compose.yml and even doesnt listen to the .env file #64
Comments
cordlessblues I have the exact same issue. If you want a working docker one, I am using this one: |
Which parameter does not work? Which OS? A bit more information is needed to address your issues.
|
Basically, everything works, except the server ignores, then re-writes the config.toml file. For example, I set the map to be west coast usa, and when i start the container, it overwrites the serverconfog.toml to the default, which is gridmap. I am on macOS with docker, and yes, I created the config file first. Thanks for your quick response! |
Can you please try to set the map via ".env" file? |
I could not get the .env.example file to work at all, so that is why I am trying to use the config.toml. if that makes sense. sorry. |
So you just have to copy the "cp .env.example" to a file called ".env". |
ohhhh ok, let me try that. Do i need to add it as a volume in docker compose? |
No, just follow this steps:
|
ok, testing now. |
ok, it now works. Thanks a lot RouHim For some reason, the serverconfig.toml option does not work, but this one works. I also like it better than the one I posted above, as it is docker compose. Thanks again! |
Ok thanks for testing, I'll keep this issue open until I've fixed the server config toml issue. |
Alright, thanks a lot. One other thing, atleast for macOS, is it would be helpful if you changed the instructions to be to "rename the .env.example to ".env", and change as needed", as that is what I needed to do. Anything else you need me to test, just let me know. |
Ok thanks, I'll update the docs. |
when i run
sudo docker compose up
the server overwrites the config file with some default file and ive tried everything from editingdocker-compose.yml
to even edit the.env
file and putting it in the same directory asdocker-compose.yml
i have attacted my
docker-compose.yml
file.env
file and theServerConfig.toml
file in a zip file because of github file format limitationsFiles in the server directory
output in console it defaults on me every time
ServerFiles.zip
where am i going wrong?
The text was updated successfully, but these errors were encountered: