Add 'apps/arv-web/' from commit 'f9732ad8460d013c2f28363655d0d1b91894dca5'
authorPeter Amstutz <peter.amstutz@curoverse.com>
Fri, 16 Jan 2015 19:05:48 +0000 (14:05 -0500)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Fri, 16 Jan 2015 19:05:48 +0000 (14:05 -0500)
git-subtree-dir: apps/arv-web
git-subtree-mainline: b97ac7f96234cbbb491bdbaade840ab50802f357
git-subtree-split: f9732ad8460d013c2f28363655d0d1b91894dca5

16 files changed:
1  2 
apps/arv-web/Dockerfile
apps/arv-web/README
apps/arv-web/apache2_foreground.sh
apps/arv-web/apache2_vhost
apps/arv-web/arv-web.py
apps/arv-web/sample-cgi-app/public/.htaccess
apps/arv-web/sample-cgi-app/public/index.cgi
apps/arv-web/sample-cgi-app/tmp/.keepkeep
apps/arv-web/sample-rack-app/config.ru
apps/arv-web/sample-rack-app/public/.keepkeep
apps/arv-web/sample-rack-app/tmp/.keepkeep
apps/arv-web/sample-static-page/public/index.html
apps/arv-web/sample-static-page/tmp/.keepkeep
apps/arv-web/sample-wsgi-app/passenger_wsgi.py
apps/arv-web/sample-wsgi-app/public/.keepkeep
apps/arv-web/sample-wsgi-app/tmp/.keepkeep

index 0000000000000000000000000000000000000000,d0a6abe8299bf66dc630327972ecc38ec99eb5d3..d0a6abe8299bf66dc630327972ecc38ec99eb5d3
mode 000000,100644..100644
--- /dev/null
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..826092d447b14b04df32da905dd13f5179b8df80
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,28 @@@
++Run a web service from Arvados.
++
++usage: arv-web.py [-h] --project PROJECT [--port PORT] --image IMAGE
++
++optional arguments:
++  -h, --help         show this help message and exit
++  --project PROJECT  Project to watch
++  --port PORT        Local bind port
++  --image IMAGE      Docker image to run
++
++
++This queries an Arvados project and FUSE mounts the most recently modified
++collection into a temporary directory.  It then runs the supplied Docker image
++with the collection bind mounted to /mnt inside the container.
++
++When a new collection is added to the project, or an existing project is
++updated, it will detect the change, it will stop the running Docker container,
++unmount the old collection, mount the new most recently modified collection,
++and restart the Docker container with the new mount.
++
++The supplied Dockerfile builds a Docker image that runs Apache with /mnt as the
++DocumentRoot.  It is configured to run web applications based on Python WSGI,
++Ruby Rack, CGI, to serve static HTML, or simply browse the contents of the
++/public subdirectory of the collection using Apache's default index pages.
++
++To build the Docker image:
++
++$ docker build -t arvados/arv-web .
index 0000000000000000000000000000000000000000,fc6028ea8391b3445e13adc5de4439fe7207ec2d..fc6028ea8391b3445e13adc5de4439fe7207ec2d
mode 000000,100755..100755
--- /dev/null
index 0000000000000000000000000000000000000000,dad4a9b57a98d640066b9b517ab4e7c7b1c570da..dad4a9b57a98d640066b9b517ab4e7c7b1c570da
mode 000000,100644..100644
--- /dev/null
index 0000000000000000000000000000000000000000,63d760d2f124158c27e94ff83e6732882ff80026..63d760d2f124158c27e94ff83e6732882ff80026
mode 000000,100644..100644
--- /dev/null
index 0000000000000000000000000000000000000000,e5145bd37df5a893d6571c8c33c452b70cca71f6..e5145bd37df5a893d6571c8c33c452b70cca71f6
mode 000000,100644..100644
--- /dev/null
index 0000000000000000000000000000000000000000,57bc2a9a019d2dff45c08cb4263bf7cb1d1b6605..57bc2a9a019d2dff45c08cb4263bf7cb1d1b6605
mode 000000,100755..100755
--- /dev/null
index 0000000000000000000000000000000000000000,e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
mode 000000,100644..100644
--- /dev/null
index 0000000000000000000000000000000000000000,84bb0da9948c7a3c7cad563e603b6d5754d9c866..84bb0da9948c7a3c7cad563e603b6d5754d9c866
mode 000000,100644..100644
--- /dev/null
index 0000000000000000000000000000000000000000,e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
mode 000000,100644..100644
--- /dev/null
index 0000000000000000000000000000000000000000,e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
mode 000000,100644..100644
--- /dev/null
index 0000000000000000000000000000000000000000,a2e485c5d833d22a9a989032a7dc1685fe71f1b5..a2e485c5d833d22a9a989032a7dc1685fe71f1b5
mode 000000,100644..100644
--- /dev/null
index 0000000000000000000000000000000000000000,e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
mode 000000,100644..100644
--- /dev/null
index 0000000000000000000000000000000000000000,ea918f0cbf769218fe9c8b9bd78981b81b095ce6..ea918f0cbf769218fe9c8b9bd78981b81b095ce6
mode 000000,100644..100644
--- /dev/null
index 0000000000000000000000000000000000000000,e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
mode 000000,100644..100644
--- /dev/null
index 0000000000000000000000000000000000000000,e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
mode 000000,100644..100644
--- /dev/null