diff --git a/README.md b/README.md index ece8e7232..a5659596d 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,24 @@ For gwells to interact with your local instance of Min.IO add the appropriate se ``` 127.0.0.1 minio-public ``` +### Connecting to PGAdmin +> Information in this section reflects docker-compose as of `Nov 8th, 2023` + +PG Admin is setup in the `docker-compose up` and requires no additional installations + +Steps: +1. connect to Pgadmin through [localhost](http://localhost:5050) +1. Login using username: `admin@gwells.com`, password: `admin`. +1. Right click `Server` -> `Register` -> `Server` +1. Enter any meaningful name in `Name` +1. Under the `Connection` tab supply the following values + +|Field|Value| +| --- | --- | +| Host name / address | `db` +| Port | `5432` | +| Username | `gwells` | +| Password | `test1` | Visit the following links to browse the API and frontend applications: diff --git a/docker-compose.yml b/docker-compose.yml index 22e81abe3..b5f06d719 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -207,6 +207,22 @@ services: - db networks: - gwells-network + +############################################################################################# +### Volumes ### +############################################################################################# + pgadmin: + container_name: pgadmin + image: dpage/pgadmin4 + ports: + - 5050:80 + environment: + PGADMIN_DEFAULT_PASSWORD: admin + PGADMIN_DEFAULT_EMAIL: admin@gwells.com + networks: + - gwells-network + + ############################################################################################# ### Volumes ### #############################################################################################