Skip to content

Commit 7f353ff

Browse files
committed
Add ports to docker-compose for db
This is a small change that lets me access the db from my IDE. In turn this let me generate a diagram of the database structure. It took several minutes
1 parent f182915 commit 7f353ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
services:
22
db:
33
image: postgres:17
4+
ports:
5+
- 5433:5432
46
volumes:
57
- db_data:/var/lib/postgresql/data
68
environment:

0 commit comments

Comments
 (0)