Your browserdoesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.

For the best experience please use the latestChrome,Safari orFirefox browser.

Dockerを使った非エンジニアでも使える検証環境の構築
{
    "id" : "9renpoto",
    "name": "Keisuke Kan",
    "ingress" : "Resistance",
    "editor " : "vim",
    "game" : [
        "FPS",
        "RTS",
        "格ゲー",
        "音ゲー"
    ],
}
TL;DRkayac dockerで検索
{
    "id" : "9renpoto",
    "name": "Keisuke Kan",
    "ingress" : "Resistance",
    "editor " : "vim",
    "game" : [
        "FPS",
        "RTS",
        "格ゲー",
        "音ゲー"
    ],
}

Web Service????

         ____     ━┓
       / ―   \    ┏┛
     /ノ  ( ●)  \   ・
      | ( ●)   ⌒)   |
      |   (__ノ ̄   /
      |            /
     \_   ⊂ヽ∩\
       /´    (,_ \.\
         |  /     \_ノ) ) )
イチからかPaaS?
git push heroku master?


Q.local? private?
A.flynn
commit, push
出来るくらいならエンジニア
Demo
github.com/acidlemon/mirage
mirage is reverse proxy for docker container and container manager.( config.yml )
host:
  webapi: docker.192.168.33.33.xip.io
  reverse_proxy_suffix: .192.168.33.33.xip.io
listen:
  foreign_address: 127.0.0.1
  http:
    - listen: 8080
      target: 5000
github.com/acidlemon/mirage
img

bitbucket.org/9renpoto/test-view-app

  • 1.web formからテンプレートをPOST
  • 2.アプリが自らをclone, 変更, commit, push
  • 3.mirageのAPIを呼び出す
  • 4.dockerが起きる

bitbucket.org/9renpoto/test-view-app

Dockerfile
RUN curl -kL https://raw.github.com/pypa/pip/master/contrib/get-pip.py | /home/app/local/python-2.7.9/bin/python
RUN /home/app/local/python-2.7.9/bin/pip install -r requirements.txt
CMD /bin/sh /home/app/test-view-app/docker/docker_run.sh
docker_run.sh
#!/bin/sh
set -e
PATH=/home/app/local/python-2.7.9/bin:$PATH
git fetch
git checkout $GIT_BRANCH
git pull
pip install -r requirements.txt
python myapp.py
img
img Happy Hacking!

Use a spacebar or arrow keys to navigate