Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- dev-pg:
- image: 'postgres:10-alpine'
- volumes:
- - 'dev:/var/lib/postgresql/data'
- environment:
- - POSTGRES_DB=app_dev
- - POSTGRES_USER=laravel
- - POSTGRES_PASSWORD=secret
- ports:
- - '5433:5432'
- test-pg:
- image: 'postgres:10-alpine'
- # volumes: // no need to persist test data
- # - null
- environment:
- - POSTGRES_DB=app_test
- - POSTGRES_USER=laravel
- - POSTGRES_PASSWORD=secret
- ports:
- - '5434:5432'
- volumes:
- dev:
Add Comment
Please, Sign In to add comment