mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-23 21:33:00 -04:00
make db persistent..
so it wont be destroyed with every start of docker-compose
This commit is contained in:
committed by
GitHub
parent
b4fc061629
commit
51bf757ffc
@@ -46,6 +46,7 @@ services:
|
||||
- db_net
|
||||
volumes:
|
||||
- ./database/database.sql:/docker-entrypoint-initdb.d/database.sql
|
||||
- database:/var/lib/mysql:rw
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=${OSPOS_MYSQL_ROOT_PASSWORD}
|
||||
- MYSQL_DATABASE=ospos
|
||||
|
||||
Reference in New Issue
Block a user