pool
pool copied to clipboard
The simplest proxy service to access your Dockerized webapps by Git commit-id.
Ref: https://github.com/docker/compose/issues/94
- [x] extract block which builds front page with grunt - [ ] add task to build all package easily - [ ] add documentation
Reporting in this PR: https://github.com/mookjp/pool/pull/150 > My host has docker group and docker.sock owned by root:docker, 0660. > Starter script chown root:docker /var/run/docker.sock against mounted docker.sock, that changes owner gid...
https://github.com/mookjp/pool/blob/master/docker/pool/build-screen/app/scripts/main.js#L1-L16 ``` js (function () { showCommitId(); var es = new EventSource("/build/" + getCommitId()); es.addEventListener("build_log", function(event){ $(".log-console").append("\n" + event.data); $(".log-console").animate( { scrollTop: $(".log-console")[0].scrollHeight - $(".log-console").height() }, 50); }); es.addEventListener("build_finished", function(event){...
Dockerfile does not require the idempotence of the environment so that unexpected cache may be created; e.g. broken modules which is downloaded from the outside may be cached. It is...
What happens if HEAD of `master` is updated while accessing pool with the domain `master.pool.dev`? I think pool has potentially confusing to process client request because `hook.rb` of pool resolves...
Improve the speed of processing request in `hook.rb` For example, `docker/pool/provisioning/mruby.conf`: ``` ProxyPreserveHost On mrubyChildInitMiddle "/app/handlers/init.rb" mrubyTranslateNameMiddle "/app/handlers/hook.rb" ``` `docker/pool/handler/init.rb`: ``` Userdata.new("api").git_api = WebAPI.new("http://0.0.0.0:9000") Userdata.new("api").docker_api = WebAPI.new("http://0.0.0.0:9002") ``` `docker/pool/handler/hook.rb`: ```...
https://github.com/mookjp/pool/blob/master/scripts/init_host_server#L38-L53 ``` sh if [[ -f /etc/os-release ]] && [[ $(cat /etc/os-release | grep "NAME=CoreOS") ]]; then echo "CoreOS detected. Updating to latest docker.." systemctl stop docker wget -q https://get.docker.com/builds/Linux/x86_64/docker-latest...
Currently it takes so long time to execute provisioning to Vagrant box. ## Plans 1. Divide the task to create environment to another project; create pool's own Vagrant box project...