Last active
October 23, 2021 05:59
-
-
Save kyle-aoki/5ac01602d63b1885757cc36e802eec25 to your computer and use it in GitHub Desktop.
Docker Compose File To Start Local PostgreSQL Server
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.1' | |
services: | |
postgres-db: | |
image: postgres | |
restart: always | |
environment: | |
POSTGRES_PASSWORD: pass | |
ports: | |
- '5432:5432' | |
expose: | |
- '5432' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment