Skip to content

Instantly share code, notes, and snippets.

@seandearnaley
Created June 8, 2020 15:54
Show Gist options
  • Save seandearnaley/5f291443c99f50e47d05f1d1c6ef9a44 to your computer and use it in GitHub Desktop.
Save seandearnaley/5f291443c99f50e47d05f1d1c6ef9a44 to your computer and use it in GitHub Desktop.
Warthog docker-compose.yml for Postgresql
version: '3.6'
services:
postgres:
image: postgres
restart: always
volumes:
- ./db_data:/var/lib/postgresql/data
ports:
- 5432:5432
environment:
POSTGRES_DB: warthog-starter-development
POSTGRES_PASSWORD:
POSTGRES_USER: sean
volumes:
db_data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment