Created
June 27, 2019 17:08
-
-
Save adagio/70062c9fe9f208efad14ec14af397d08 to your computer and use it in GitHub Desktop.
Postgres on 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
# Use postgres/example user/password credentials | |
version: '3.1' | |
services: | |
db: | |
image: postgres:10 | |
restart: always | |
environment: | |
- POSTGRES_PASSWORD=example | |
- POSTGRES_USER=postgres | |
- POSTGRES_DB=motoairdb | |
ports: | |
- '5432:5432' | |
# 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