Last active
July 7, 2019 06:52
-
-
Save adagio/e1a7b6edbc0f2c21e32e0cec30a07baa to your computer and use it in GitHub Desktop.
Postgres Docker stack
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
# Use postgres/example user/password credentials | |
# docker-compose -f stack.yml | |
version: '3.1' | |
services: | |
db: | |
image: postgres | |
restart: always | |
ports: | |
- 5432:5432 | |
environment: | |
POSTGRES_PASSWORD: example | |
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