Last active
October 4, 2021 06:51
-
-
Save gue-ni/ccce7ca2b9203b26cb4ea13878fc7b5f to your computer and use it in GitHub Desktop.
Run PostgreSQL in Docker
This file contains hidden or 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: | |
db: | |
image: postgres | |
restart: always | |
ports: | |
- 5432:5432 | |
environment: | |
POSTGRES_USER: postgres # default is postgres, same as POSTGRES_DB | |
POSTGRES_PASSWORD: changeme | |
adminer: | |
image: adminer | |
restart: always | |
ports: | |
- 8080:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment