You've already forked testing-go-code-with-postgres
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:
@ -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
|
||||
|
Reference in New Issue
Block a user