Skip to content

Instantly share code, notes, and snippets.

@adagio
Created March 8, 2020 00:11
Show Gist options
  • Save adagio/76a2c54bddb229029df5bd3eb8feea92 to your computer and use it in GitHub Desktop.
Save adagio/76a2c54bddb229029df5bd3eb8feea92 to your computer and use it in GitHub Desktop.
Postgres on docker-compose
# 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=real_time_chat
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