Skip to content

Commit c13ac83

Browse files
committed
Update: Add PGAdmin step in README
1 parent 8883063 commit c13ac83

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed
61.6 KB
Loading

bootcamp/materials/1-dimensional-data-modeling/README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ There are two methods to get Postgres running locally.
5353
3. Set up DataGrip, DBeaver, or your VS Code extension to point at your locally running Postgres instance.
5454
4. Have fun querying!
5555
56-
### 🐳 **Option 2: Run Postgres in Docker**
56+
### 🐳 **Option 2: Run Postgres and PGAdmin in Docker**
5757
5858
- Install Docker Desktop from **[here](https://www.docker.com/products/docker-desktop/)**.
5959
- Copy **`example.env`** to **`.env`**:
@@ -79,6 +79,15 @@ There are two methods to get Postgres running locally.
7979
- You can check that your Docker Compose stack is running by either:
8080
- Going into Docker Desktop: you should see an entry there with a drop-down for each of the containers running in your Docker Compose stack.
8181
- Running **`docker ps -a`** and looking for the containers with the name **`postgres`**.
82+
- If you navigate to **`http://localhost:5050`** you will be able to see the PGAdmin instance up and running and should be able to connect to the following server:
83+
![Image showing the setup for PGAdmin](.attachments/pgadmin-server.png)
84+
Where:
85+
- Host name: host.docker.internal
86+
- Port: 5432
87+
- Username: postgres
88+
- Password: postgres
89+
90+
8291
- When you're finished with your Postgres instance, you can stop the Docker Compose containers with:
8392

8493
```bash

0 commit comments

Comments
 (0)