Skip to content

Instantly share code, notes, and snippets.

@jincod
Created March 28, 2016 08:17
Show Gist options
  • Save jincod/310567641311f1d2cf9b to your computer and use it in GitHub Desktop.
Save jincod/310567641311f1d2cf9b to your computer and use it in GitHub Desktop.
docker-compose config
---
version: '2'
volumes:
pgdata: {}
services:
db:
image: postgres:latest
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment