Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
docker-compose with database
version: '3'
services:
db:
image: postgres
environment:
POSTGRES_PASSWORD: password
ports:
- "5432:5432"
dev:
build: .
depends_on:
- db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment