We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c28ffc commit a0854d8Copy full SHA for a0854d8
README.md
@@ -33,6 +33,12 @@ e.g:
33
const keyv = new Keyv('postgresql://user:pass@localhost:5432/dbname', { table: 'cache' });
34
```
35
36
+## Test prerequisites
37
+Local Postgres instance using included docker-compose configuration:
38
+```
39
+docker-compose up
40
41
+
42
## License
43
44
MIT © Luke Childs
docker-compose.yaml
@@ -0,0 +1,11 @@
1
+# Docker compose configuration that allows integration tests to be run
2
+postgres:
3
+ image: postgres:9.5
4
+ ports:
5
+ - 5432:5432
6
+ environment:
7
+ - POSTGRES_USER=postgres
8
+ - POSTGRES_DB=keyv_test
9
+ # Increased max_connections and shared_buffer counts
10
+ command:
11
+ postgres -N 150 -B 300
0 commit comments