Skip to content

Instantly share code, notes, and snippets.

@adagio
Last active July 7, 2019 06:52
Show Gist options
  • Save adagio/e1a7b6edbc0f2c21e32e0cec30a07baa to your computer and use it in GitHub Desktop.
Save adagio/e1a7b6edbc0f2c21e32e0cec30a07baa to your computer and use it in GitHub Desktop.
Postgres Docker stack
# 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