Skip to content

Instantly share code, notes, and snippets.

@maxbraynner
Created February 5, 2019 23:19
Show Gist options
  • Select an option

  • Save maxbraynner/eeb54d624efca722e767a6956b5ac4d3 to your computer and use it in GitHub Desktop.

Select an option

Save maxbraynner/eeb54d624efca722e767a6956b5ac4d3 to your computer and use it in GitHub Desktop.
Develope Postgres
version: '3.1'
services:
db_postgres:
image: postgres
restart: always
volumes:
- pgdata:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: max123
ports:
- 5432:5432
# pgadmin4:
# # image: dpage/pgadmin4:latest
# image: chorss/docker-pgadmin4:3.2
# restart: always
# environment:
# # PGADMIN_DEFAULT_EMAIL: [email protected]
# # PGADMIN_DEFAULT_PASSWORD: postgres
# PGADMIN_SETUP_EMAIL: [email protected]
# PGADMIN_SETUP_PASSWORD: postgres
# ports:
# - 80:5050
volumes:
pgdata:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment