Skip to content

Instantly share code, notes, and snippets.

@NemesisX1
Created June 27, 2022 13:39
Show Gist options
  • Select an option

  • Save NemesisX1/deec1b4b9f639d74514737818b90f023 to your computer and use it in GitHub Desktop.

Select an option

Save NemesisX1/deec1b4b9f639d74514737818b90f023 to your computer and use it in GitHub Desktop.

Revisions

  1. NemesisX1 created this gist Jun 27, 2022.
    21 changes: 21 additions & 0 deletions postgres_docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    version: '3.8'
    services:
    db:
    container_name: pg_container
    image: postgres
    restart: always
    environment:
    POSTGRES_USER: root
    POSTGRES_PASSWORD: root
    POSTGRES_DB: test_db
    ports:
    - "5432:5432"
    pgadmin:
    container_name: pgadmin4_container
    image: dpage/pgadmin4
    restart: always
    environment:
    PGADMIN_DEFAULT_EMAIL: admin@admin.com
    PGADMIN_DEFAULT_PASSWORD: root
    ports:
    - "5050:80"