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