Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb28aea0

Browse files
committed
Adds instructions to README about persistent mysql data
1 parent36ab7d6 commitb28aea0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

‎README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,15 @@ Containers created and their ports (if used) are as follows:
2222
-**npm**
2323
-**composer**
2424
-**artisan**
25+
26+
##Persistant MySQL Storage
27+
28+
By default, whenever you bring down the docker-compose network, your MySQL data will be removed after the containers are destroyed. If you would like to have persistant data that remains after bringing containers down and back up, do the following:
29+
30+
1. Create a`mysql` folder in the project root, alongside the`nginx` and`src` folders.
31+
2. Under the mysql service in your`docker-compose.yml` file, add the following lines:
32+
33+
```
34+
volumes:
35+
- ./mysql:/var/lib/mysql
36+
```

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp