Skip to content

Instantly share code, notes, and snippets.

@matheusnascgomes
Created October 14, 2019 17:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matheusnascgomes/6a9bf26acbdbf5fe9fde3133c1f9b06c to your computer and use it in GitHub Desktop.
Save matheusnascgomes/6a9bf26acbdbf5fe9fde3133c1f9b06c to your computer and use it in GitHub Desktop.
Running postgres on docker
version: '3.7'
services:
postgres:
image: postgres:10.10-alpine
container_name: postgres
ports:
- 5432:5432
volumes:
- ./postgres-data:/var/lib/postgresql/data
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment