This commit is contained in:
tuffahni 2024-12-31 01:34:37 +00:00
parent ecd7b650bd
commit a7a1e4757c

View File

@ -21,7 +21,7 @@ services:
- "5432:5432"
# create a file to store stuff, store inside "data" folder
volumes:
- ./data:/var/lib/postgresql/data
- data:/var/lib/postgresql/data
# PGAdmin: visualize postgres database
pgadmin:
@ -34,7 +34,7 @@ services:
- "3001:80"
# creating a folder called pgadmin to store the pgadmin files
volumes:
- ./pgadmin:/root/.pgadmin
- pgadmin:/root/.pgadmin
depends_on:
- db