graphql-engine/scripts/containers
Samir Talwar c0a0a5fe87 docker: Mount database data directories as named volumes.
I'm trying to shore up the Python integration tests to make them more reliable. In doing so, I noticed this.

---

This ensures that the data directories are always in a mutable file system, and not going through overlayfs.

In my testing, this sped up PostgreSQL database initialization a lot. In particular, `CREATE DATABASE` commands went from > 5s to < 0.1s.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5248
GitOrigin-RevId: 5104aea32c92559c323803020d727bebfdafb8e6
2022-08-04 10:11:10 +00:00
..
citus docker: Mount database data directories as named volumes. 2022-08-04 10:11:10 +00:00
mssql.sh docker: Mount database data directories as named volumes. 2022-08-04 10:11:10 +00:00
mysql.sh docker: Mount database data directories as named volumes. 2022-08-04 10:11:10 +00:00
postgres docker: Mount database data directories as named volumes. 2022-08-04 10:11:10 +00:00