Skip to content

Instantly share code, notes, and snippets.

@bhrott
Created February 18, 2020 11:43
Show Gist options
  • Save bhrott/35b83a62ad0d2473c63640eddf8a94a9 to your computer and use it in GitHub Desktop.
Save bhrott/35b83a62ad0d2473c63640eddf8a94a9 to your computer and use it in GitHub Desktop.
Postgres + Docker-Compose
version: "3"
services:
postgres:
image: postgres:11.2-alpine
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
ports:
- "5432:5432"
volumes:
- ./init-db/init-db.sql:/docker-entrypoint-initdb.d/init.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment