added persistent volumes for postgresql db
This commit is contained in:
parent
3c7e88d389
commit
05652f1cfb
|
@ -13,11 +13,8 @@ services:
|
|||
- ./data/uploads:/uploads
|
||||
database:
|
||||
image: 'postgres:15'
|
||||
|
||||
# ports:
|
||||
# - 5432:5432
|
||||
volumes:
|
||||
- ./data/db:/var/lib/postgresql
|
||||
- ./data/db:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_USER: bsfe
|
||||
POSTGRES_PASSWORD: Ch@NgEME!
|
||||
|
|
Loading…
Reference in New Issue