Created
June 16, 2016 05:35
-
-
Save humorless/c05a77a91a44c5f024c595aae8080653 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /home/vagrant/docker/DockerCompose-OpenFalcon | |
更新 owl.yml , 使docker最新的版本可以被更新。 | |
sudo git pull | |
更新 submodule , 連database的schema也一併更新。 | |
git submodule update --remote --init --recursive | |
關閉現在正在運行中的docker | |
docker rm -f $(docker ps -aq) | |
刪去所有的log檔 | |
sudo rm -rf /home/openfalcon/* | |
拉最新的docker images | |
docker-compose -f owl.yml pull | |
重新生成docker | |
./generate_yaml.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如果 db_schema 下,已經被亂改過。則重置。