Skip to content

Instantly share code, notes, and snippets.

@kshitij10496
Created January 17, 2019 15:58
Show Gist options
  • Save kshitij10496/88474f0a63643f59337574774a00f52a to your computer and use it in GitHub Desktop.
Save kshitij10496/88474f0a63643f59337574774a00f52a to your computer and use it in GitHub Desktop.
[Postgres with Docker]: Loading data into DB
version: '3'
services:
postgres:
image: postgres:11.1-alpine
container_name: shadowsDB
environment:
POSTGRES_DB: "league_of_shadows"
POSTGRES_USER: "batman"
POSTGRES_PASSWORD: "blueflower"
volumes:
- ./postgres:/docker-entrypoint-initdb.d # Add the SQL directory as a volume
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment