lesson 8
This commit is contained in:
parent
ecd7b650bd
commit
a7a1e4757c
@ -21,7 +21,7 @@ services:
|
|||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
# create a file to store stuff, store inside "data" folder
|
# create a file to store stuff, store inside "data" folder
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/var/lib/postgresql/data
|
- data:/var/lib/postgresql/data
|
||||||
|
|
||||||
# PGAdmin: visualize postgres database
|
# PGAdmin: visualize postgres database
|
||||||
pgadmin:
|
pgadmin:
|
||||||
@ -34,7 +34,7 @@ services:
|
|||||||
- "3001:80"
|
- "3001:80"
|
||||||
# creating a folder called pgadmin to store the pgadmin files
|
# creating a folder called pgadmin to store the pgadmin files
|
||||||
volumes:
|
volumes:
|
||||||
- ./pgadmin:/root/.pgadmin
|
- pgadmin:/root/.pgadmin
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user