Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
21.23k stars 1.43k forks source link

Lock starting containers. #13914

Closed samwho closed 3 weeks ago

samwho commented 3 weeks ago

Description

We noticed while debugging a CI problem that it's possible for multiple of the same DB container to be started. This eats up resources for no gain, because everything should connect to just one of the containers, so I'm using proper-lockfile to create a filesystem lock when bringing up containers. This should prevent more than 1 starting.