Created
February 18, 2020 11:43
-
-
Save bhrott/35b83a62ad0d2473c63640eddf8a94a9 to your computer and use it in GitHub Desktop.
Postgres + Docker-Compose
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.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