add persistent_data
parent
f0454db3d6
commit
f396d2566c
@ -0,0 +1,13 @@
|
|||||||
|
# Persistent storage
|
||||||
|
|
||||||
|
* Sql db data store here to avoid data loss if container shutdown
|
||||||
|
|
||||||
|
```yml
|
||||||
|
services:
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: mysql
|
||||||
|
...
|
||||||
|
volumes:
|
||||||
|
- ./persistent_data:/var/lib/mysql
|
||||||
|
```
|
||||||
Loading…
Reference in New Issue