Created
January 17, 2019 15:58
-
-
Save kshitij10496/88474f0a63643f59337574774a00f52a to your computer and use it in GitHub Desktop.
[Postgres with Docker]: Loading data into DB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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