docker-ebot
docker-ebot copied to clipboard
Is there a good way to configure maps?
Can environment variables be used to modify this section? https://github.com/deStrO/eBot-CSGO/blob/master/config/config.ini.smp#L35-L49
I have the same problem
Looks like it's not trivial so I forked the project and added the feature. If the repo owner would like me to create a PR here I would be more than happy to.
https://gitlab.com/counterstrafe/docker-ebot/merge_requests/1
PR are very welcome in fact. I just black time to keep updating this repo
additionally editing file app.yml file to add current tournament maps maps . This file looks like this .array: maps: [ de_dust2, de_nuke, de_inferno, de_train, de_mirage, de_season, de_cache, de_overpass, de_cbble, de_tuscan ]
As a temporary solution we can connect to a docker ebotweb container and execute these commands
cd /config
MAPS="[ de_dust2, de_mirage, de_inferno, de_overpass, de_ancient, de_nuke, de_vertigo, ]"
cat app.yml | sed "s/maps:.*]/maps: $MAPS/" > new.yml
mv app.yml old.yml
mv new.yml app.yml