- 安装好
docker-compose - 把
docker-compose.yml文件和config.py以及tgdata.db放在同一个文件夹 - 在该目录下执行
docker-compose up -d - 通过
docker-compose logs -f可以查看日志里输出的二维码之类的信息(CTRL + C退出) - 更新的话修改
docker-compose.yml文件里第二行的版本号为新的版本号重新执行docker-compose up -d即可
Last active
July 26, 2017 06:38
-
-
Save RoyXiang/9b74d448c9e65d65cfb5f5876b5eb466 to your computer and use it in GitHub Desktop.
a sample docker compose file for https://github.com/RoyXiang/docker-EFB
This file contains hidden or 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
| efb: | |
| image: royx/docker-efb:v1.6.4 | |
| container_name: ehforwarderbot | |
| volumes: | |
| - ./config.py:/opt/ehForwarderBot/config.py | |
| - ./tgdata.db:/opt/ehForwarderBot/plugins/eh_telegram_master/tgdata.db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment