Created
February 5, 2019 23:19
-
-
Save maxbraynner/eeb54d624efca722e767a6956b5ac4d3 to your computer and use it in GitHub Desktop.
Develope Postgres
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
| 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