azukiapp/rubyBase docker image to run Ruby applications in azk
Database:
azkExample of using this image with azk:
js/** * Documentation: [***] */ // Adds the systems that shape your system systems({ "my-app": { // Dependent systems depends: [], // postgres, mysql, mongodb ... // More images: [***] image: {"docker": "azukiapp/ruby"}, // Steps to execute before running instances provision: [ "bundle install --path /azk/bundler"//, // "rake db:create", // "rake db:migrate" ], workdir: "/azk/#{manifest.dir}", shell: "/bin/bash", command: "bundle exec rackup config.ru --pid /tmp/ruby.pid --port $HTTP_PORT --host 0.0.0.0", wait: {"retry": 20, "timeout": 1000}, mounts : { '/azk/#{manifest.dir}': path('.'), '/azk/bundler' : persistent('bundler'), }, scalable: {"default": 1}, http: { // my-app.dev.azk.io domains: [ "#{system.name}.#{azk.default_domain}" ] }, envs: { // set instances variables RACK_ENV : 'development', BUNDLE_APP_CONFIG : '/azk/bundler', } }, });
dockerTo create the image azukiapp/ruby, execute the following command on the docker-ruby folder:
sh$ docker build -t azukiapp/ruby 2.3/
To run the image and bind to port 3000:
sh$ docker run -it --rm --name my-app -p 3000:3000 -v "$PWD":/myapp -w /myapp azukiapp/ruby ruby app.rb
sh# with azk $ azk logs my-app # with docker $ docker logs <CONTAINER_ID>
Azuki Dockerfiles distributed under the Apache License.

manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务