I am using Wassily's docker compose and docker file. It runs fine. I wanted to share the local directories as described
but they are empty as bots holds the data in "site-packages". Changing the path in the docker compose file prevents bots from starting up correctly:
Recreating bots_build-master_bots-server_1 ... done
Attaching to bots_build-master_bots-server_1
bots-server_1 | Traceback (most recent call last):
bots-server_1 | File "/usr/local/bin/bots-webserver.py", line 5, in <module>
bots-server_1 | webserver.start()
bots-server_1 | File "/usr/local/lib/python2.7/site-packages/bots/webserver.py", line 37, in start
bots-server_1 | botsinit.generalinit(configdir) #find locating of bots, configfiles, init paths etc.
bots-server_1 | File "/usr/local/lib/python2.7/site-packages/bots/botsinit.py", line 47, in generalinit
bots-server_1 | raise botslib.PanicError(u'In initilisation: path to configuration does not exists: "%(configdir)s".',{'configdir':configdir})
bots-server_1 | bots.botslib.PanicError: In initilisation: path to configuration does not exists: "config".
bots_build-master_bots-server_1 exited with code 1
My target is to share these 3 folders with the host to change data from there while the container is running. Am I missing something?
Thanks for help in advance.