ci(core): Use tempfs for mariadb and postgres in tests (#11824)

This commit is contained in:
Tomi Turtiainen 2024-11-21 15:19:18 +02:00 committed by GitHub
parent d99e0a7c97
commit 3aeb4a467b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,8 @@ services:
- MARIADB_MYSQL_LOCALHOST_USER=true - MARIADB_MYSQL_LOCALHOST_USER=true
ports: ports:
- 3306:3306 - 3306:3306
tmpfs:
- /var/lib/mysql
postgres: postgres:
image: postgres:16 image: postgres:16
@ -17,3 +19,5 @@ services:
- POSTGRES_PASSWORD=password - POSTGRES_PASSWORD=password
ports: ports:
- 5432:5432 - 5432:5432
tmpfs:
- /var/lib/postgresql/data