test: speedup mysql and postgres integration tests by 10-20x

Use docker tmpfs mounts for mysql and postgres data volumes
This commit is contained in:
Marcus Efraimsson 2017-11-29 14:40:23 +01:00
parent 554c7ba96f
commit c8ac6add16
2 changed files with 2 additions and 0 deletions

View File

@ -7,3 +7,4 @@
MYSQL_PASSWORD: password MYSQL_PASSWORD: password
ports: ports:
- "3306:3306" - "3306:3306"
tmpfs: /var/lib/mysql:rw

View File

@ -5,3 +5,4 @@
POSTGRES_PASSWORD: grafanatest POSTGRES_PASSWORD: grafanatest
ports: ports:
- "5432:5432" - "5432:5432"
tmpfs: /var/lib/postgresql/data:rw