Skip to content

Instantly share code, notes, and snippets.

@pvergain
Created February 9, 2018 16:41
Show Gist options
  • Save pvergain/57294bd004385416728cc525abc76058 to your computer and use it in GitHub Desktop.
Save pvergain/57294bd004385416728cc525abc76058 to your computer and use it in GitHub Desktop.
version: '3.1'
services:
db:
build:
context: .
dockerfile: Dockerfile
restart: always
volumes:
- volume_intranet:/var/lib/postgresql/data/
ports:
# the 5432 host port is occupied by a local postgressql server
- 5433:5432
volumes:
volume_intranet:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment