1
0
mirror of https://github.com/xorcare/testing-go-code-with-postgres.git synced 2025-06-30 23:23:40 +02:00

Speed up your integration tests by one line

This commit is contained in:
Vasiliy Vasilyuk
2023-07-14 17:46:23 +03:00
parent 7613653f39
commit c7a32b73ea

View File

@ -18,6 +18,8 @@ services:
- "32260:5432"
volumes:
- ./docker-multiple-databases.sh:/docker-entrypoint-initdb.d/docker-multiple-databases.sh:ro
tmpfs:
- /var/lib/postgresql/data:rw # Necessary to speed up integration tests.
migrate:
image: migrate/migrate:v4.16.2