fix: persist postgres data
This commit is contained in:
parent
60d3848729
commit
a404db0d30
1 changed files with 5 additions and 0 deletions
|
@ -29,6 +29,8 @@ services:
|
|||
- POSTGRES_DB=${DC_SPLIIT_DB:-spliit}
|
||||
- POSTGRES_USER=${DC_SPLIIT_USER:-spliit}
|
||||
- POSTGRES_PASSWORD=${DC_SPLIIT_PASS:?}
|
||||
volumes:
|
||||
- postgres:/var/lib/postgresql/data
|
||||
restart: always
|
||||
networks:
|
||||
- spliit
|
||||
|
@ -37,3 +39,6 @@ networks:
|
|||
traefik:
|
||||
external: true
|
||||
spliit:
|
||||
|
||||
volumes:
|
||||
postgres:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue