botpress / solutions

List of Botpress templates / examples for common problems. Kick start your chatbot development with these ready-to-go custom modules, actions, hooks, and tools!
https://botpress.com
56 stars 25 forks source link

Add default env CORE_DISABLE_FILE_LISTENERS to built images #39

Closed JustusNBB closed 2 years ago

JustusNBB commented 2 years ago

Readonly "dumb" deployments have a special environment configuration, which may be preset in the image baking process.

@davidvitora recommended in https://support.botpress.com/support/tickets/3318 to add this myself.

There is an open issue though. When I brought up my Readonly deployment with BPFS=disk, it had Bot Errors and I needed to reboot it with BPFS=database once before the errors would go away after rebooting with BPFS=disk again. This should be debugged and analysed further before merging.

JustusNBB commented 2 years ago

@davidvitora just found a typo in here and opened #51 - alternatively you could also drop the commit on master and remerge JustusNBB:bpib-default-ro-env instead (force fixed the typo in this original branch https://github.com/JustusNBB/solutions/commit/a52465d7fd2581211cf1cb567becbbb058f41b3a)