node-pg-connection-pool
Version:
Connection pool for node-postgres with generic-pool support
20 lines (19 loc) • 402 B
YAML
version: '2'
services:
sut:
environment:
NODE_ENV: development
DEBUG: nodePgConnectionPool*
DATABASE_URL: postgres://postgres@postgres/test_db
build:
context: ../
dockerfile: ./test/Dockerfile.test
command: 'npm test'
links:
- postgres
postgres:
image: postgres:9.6-alpine
expose:
- 5432
environment:
POSTGRES_DB: test_db