mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update
This commit is contained in:
parent
e4b02be7a2
commit
d30faa5a60
1
.gitignore
vendored
1
.gitignore
vendored
@ -14,3 +14,4 @@ npm-debug.log
|
|||||||
yarn-error.log
|
yarn-error.log
|
||||||
composer.phar
|
composer.phar
|
||||||
yarn.lock
|
yarn.lock
|
||||||
|
docker-compose.yml
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
## Docker 环境部署
|
## Docker 环境部署
|
||||||
|
> 首先 `cp docker-compose.yml.example docker-compose.yml` 选择性修改
|
||||||
1. 执行 `docker-compose run --rm db` 进入 docker 容器
|
1. 执行 `docker-compose run --rm db` 进入 docker 容器
|
||||||
2. 从 `install.sql` 文件中恢复表后退出容器,执行 `docker-compose down`
|
2. 从 `install.sql` 文件中恢复表后退出容器,执行 `docker-compose down`
|
||||||
3. 执行 `cp .env.example .env` 然后配置它
|
3. 执行 `cp .env.example .env` 然后配置它
|
||||||
|
Loading…
Reference in New Issue
Block a user