Commit Graph

273 Commits

Author SHA1 Message Date
Jonathan Leibiusky
fe8ea11fc6 Merge pull request #12 from xetorthio/allow_custom_hostnames
Allow custom hostnames when creating instances
2017-06-05 10:08:52 -03:00
Jonathan Leibiusky @xetorthio
a09f90f968 Allow custom hostnames when creating instances 2017-06-05 10:08:03 -03:00
Jonathan Leibiusky
a7715c2e89 Merge pull request #11 from xetorthio/allow_any_image
Allow to launch instances with any kind of public image.
2017-06-05 09:35:39 -03:00
Jonathan Leibiusky @xetorthio
2e63e541f3 Make sure not to treat the instance as a docker host always, as it might
not be one.
2017-05-29 10:19:01 -03:00
Jonathan Leibiusky @xetorthio
b0b9269ccc Allow to launch instances with any kind of public image.
Images that are not whitelisted will be launched as normal containers.
Only whitelisted ones will be launched as privileged.
Additionally pull the image if it doesn't exist.
2017-05-27 20:04:37 -03:00
Jonathan Leibiusky
07d0bd0b91 Merge pull request #10 from xetorthio/refactor_test_1
Refactor test 1
2017-05-27 18:16:28 -03:00
Jonathan Leibiusky @xetorthio
4353449df6 Add test to ClientResizeViewPort 2017-05-26 10:20:27 -03:00
Jonathan Leibiusky @xetorthio
dfbf870383 Add test for InstanceResizeTerminal 2017-05-26 10:01:38 -03:00
Jonathan Leibiusky @xetorthio
824647b97d Improve SessionNew tests 2017-05-26 09:51:03 -03:00
Jonathan Leibiusky @xetorthio
c25b06936e Merge branch 'jonas_master' into refactor_test_1 2017-05-24 10:00:03 -03:00
Jonathan Leibiusky @xetorthio
3d96760a98 WIP 2017-05-23 19:29:36 -03:00
Marcos Lilljedahl
db1c06a99f Add multi-stage builds and fix safari scrollbar 2017-05-23 16:18:02 -03:00
Marcos Lilljedahl
3ecdd1ea52 Fix launching instances with specific image 2017-05-23 15:50:55 -03:00
Marcos Nils
bccc87e0d9 Merge pull request #8 from xetorthio/stack_name
Allow to specify stack name as a parameter
2017-05-19 17:32:15 -03:00
Jonathan Leibiusky @xetorthio
c319f0040e Bad parameter checking 2017-05-19 17:25:30 -03:00
Jonathan Leibiusky @xetorthio
911d56bc49 WIP 2017-05-19 17:25:05 -03:00
Marcos Nils
e421a76098 Merge pull request #7 from xetorthio/fix_145
Fixes #145
2017-05-19 11:07:11 -03:00
Jonathan Leibiusky @xetorthio
55062234fd Allow to specify stack name as a parameter 2017-05-19 10:42:30 -03:00
Jonathan Leibiusky @xetorthio
a703f22997 Fixes #145 2017-05-19 10:16:00 -03:00
Marcos Lilljedahl
a223a08ab7 Merge https://github.com/gvilarino/play-with-docker into gvilarino_revert 2017-05-18 18:47:11 -03:00
Guido Vilariño
99ea172c30 Remove close alert when user is signed out (#143)
* Remove close browser tab alert when signed out

* Remove whitespace line
2017-05-18 18:33:33 -03:00
Marcos Nils
db91b7e8d3 Merge pull request #6 from xetorthio/do_stack_deploy
Do everything in a single command and pull all images before deploying
2017-05-18 17:33:34 -03:00
Jonathan Leibiusky @xetorthio
f40c527e3c Do everything in a single command and pull all images before deploying
the stack to the swarm.
2017-05-18 17:30:47 -03:00
Marcos Nils
59eee7cdfc Merge pull request #5 from xetorthio/do_stack_deploy
Initialize swarm and do stack deploy instead of docker compose
2017-05-18 17:20:54 -03:00
Jonathan Leibiusky @xetorthio
0a061c235b Initialize swarm and do stack deploy instead of docker compose 2017-05-18 17:19:49 -03:00
Marcos Nils
a5857116cb Merge pull request #4 from xetorthio/allow_external_stacks
Allow external stacks
2017-05-18 13:31:17 -03:00
Jonathan Leibiusky @xetorthio
637b014931 Allow external stacks.
Also default to `stack.yml` if file was not specified.
2017-05-18 13:16:34 -03:00
Marcos Lilljedahl
317509d3df Update compose and machine versions 2017-05-18 10:58:27 -03:00
Marcos Nils
18c346a09b Merge pull request #3 from xetorthio/compose_change
Create sessions volume and mount it in the PWD containers
2017-05-18 09:47:33 -03:00
Jonathan Leibiusky @xetorthio
686c861928 Create sessions volume and mount it in the PWD containers, instead of
bind mounting a path from the host.
Remove `pwd` folder which is unused because of the change above.
2017-05-18 09:32:12 -03:00
Marcos Nils
caf42df624 Update README.md 2017-05-17 13:22:15 -03:00
Marcos Nils
dced4910d1 Add dind build instructions 2017-05-17 13:08:34 -03:00
Marcos Nils
55028efa88 Update development instructions 2017-05-17 13:02:27 -03:00
Marcos Lilljedahl
317ba8bc06 Format file and fix styling 2017-05-16 20:39:02 -03:00
Jonathan Leibiusky @xetorthio
1634200ef7 UI modifications for stack creation 2017-05-16 17:37:34 -03:00
Jonathan Leibiusky
bfa90865a1 Merge pull request #1 from xetorthio/stack_create
Deploy stack automatically when supplied
2017-05-16 14:25:45 -03:00
Marcos Lilljedahl
31823109a5 Move stack creation when starting session
- If stack is not found return 400 status code
2017-05-16 14:09:15 -03:00
Marcos Lilljedahl
5dd56a2886 Deploy stack automatically when supplied 2017-05-15 16:09:13 -03:00
Marcos Lilljedahl
a6c19e451f Remove duplicated regex and unused function 2017-05-15 14:30:42 -03:00
Jonathan Leibiusky @xetorthio
aa02432c56 Fix bugs introduced mainly to docker-machine driver when we added TLS proxy 2017-05-13 11:12:37 -03:00
Marcos Lilljedahl
46bbd3b074 Fix missing spots due to host url change 2017-05-12 17:25:45 -03:00
Marcos Lilljedahl
88107bf576 Merge branch 'mikesir87-128-replace-underscores-in-urls' 2017-05-12 16:26:03 -03:00
Jonathan Leibiusky
8df6373327 HTTPS and File Uploads (#139)
* Add a few fixes

* Use CopyToContainer instead of bind mounts

* Remove a local compose file

* Changes according to the comments

* Rebase with master
2017-05-12 16:20:09 -03:00
Marcos Nils
61a0bb4db1 Add support for setting alias when creatign instance. (#140)
* Add support for setting alias when creatign instance.

The POST to create a instance now provides an `alias` field which
then can be used to access the instance services through the following
URL:

`http://<alias>-<short_session>-<port>.<tld>`

When creating a session you can now send an `alias`

* Remove unnecessary function

* Add alias support for DNS resolution
2017-05-11 17:39:17 -03:00
Marcos Nils
62c5d3761d Add support for setting stacks when creating session (#138)
* Add support for setting stacks when creating session

* Add exec endpoint and move dns stuff to another package

* Rename command and status code
2017-05-11 10:34:16 -03:00
Jonathan Leibiusky @xetorthio
24f8c9fc62 Change import statements accordingly 2017-05-08 15:35:42 -03:00
Marcos Lilljedahl
2652cb268d Merge branch '128-replace-underscores-in-urls' of https://github.com/mikesir87/play-with-docker into mikesir87-128-replace-underscores-in-urls 2017-05-08 08:18:17 -03:00
Marcos Lilljedahl
bcf0c5cb4c Add ARG to allow build different images 2017-05-07 17:46:10 -03:00
Marcos Lilljedahl
6cbc4e53e0 Update to latest stable CE edition 2017-05-07 15:37:48 -03:00
Drew MacInnis
c793118cf3 Fix spelling mistake (#136) 2017-05-06 13:46:47 +02:00