【文件属性】:
文件名称:yu:基于docker-compose的容器框架
文件大小:11KB
文件格式:ZIP
更新时间:2021-05-09 12:06:33
Ruby
宇
基于docker-compose的容器框架
安装
安装CLI:
$ gem install yu
开始吧
$ mkdir -p new_system && cd new_system
$ yu service web api worker1
$ yu build
$ yu start
然后,您可以在此处查看正在运行的容器:
$ docker-compose ps
$ docker-compose logs
用法
yu --help
# Check your system is ready to use yu
yu doctor
# Reset everything
yu reset
# Run all tests
yu test
# Test specific service(s)
yu test api
# Get a bash shell for a service
yu s
【文件预览】:
yu-master
----.gitignore(87B)
----exe()
--------yu(67B)
----bin()
--------setup(115B)
--------console(327B)
----CODE_OF_CONDUCT.md(1KB)
----yu.gemspec(996B)
----LICENSE.txt(1KB)
----README.md(2KB)
----lib()
--------yu.rb(9KB)
--------templates()
--------yu()
----Gemfile(87B)
----Rakefile(28B)