lesson 8
This commit is contained in:
parent
ecd7b650bd
commit
a7a1e4757c
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user