Commit Graph

10 Commits (a0a51f6d7752a5e5fa72dfe74b5fa34c07d832cc)

Author SHA1 Message Date
Florent BENOIT a13068e140 Enable single port exposure on Che (#5115)
* Toggle Che single port by enabling CHE_SINGLE_PORT in the che.env file. (CHE_SINGLE_PORT=true, default is false)

By enabling single-port, all browser traffic to Che or any workspace will be routed through the value that you have set to CHE_PORT`, or 8080 if not set. Setting this property will transform the launch sequence of Che to launch a Traefik reverse proxy. The reverse proxy will act as the traffic endpoint for all browser communications. When a new workspace is started or stopped, Che will update Traefik's configuration
with rules for how browser traffic should be routed to Che or a workspace.

It’s now using an official Traefik image (before I was using a custom made image)
There is an interceptor with a kill switch. It means interceptor is applied only if plug-in is enabled (not only if plug-in is added at compilation)
It is automatically enabled when CHE_SINGLE_PORT is turned on

docker-compose file is handling if the single_port is turned on or off and then add the traefik container and redirect port only if the property is enabled. (not enabled by default)

using —debug flag when launching che is also turning on the traffic web console to view traefik routes

It is not enabled by default, so it means that without user change, there is no overhead, no useless container started, etc.

Change-Id: I12644d9202dadc0b10104f78bb055425ca6611ac
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-05-18 14:52:41 +02:00
Roman Iuvshin 12cf01a8ff fix cli config command, cli log, jmx setting (#4409)
* fix cli config command, cli log, jmx setting
2017-03-18 21:11:13 +02:00
Tyler Jewell b53932db99 CLI - set uid:gid of Che and workspaces (#4050)
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* Update docker-compose.yml.erb
* Add uid checks
2017-02-20 07:33:57 -08:00
Alexander Garagatyi 6032c5905d CODENVY-1749: add possibility to set dns resolvers (#4129)
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
2017-02-15 12:47:46 +02:00
Tyler Jewell 9b2ccadae6 CLI: Add multi container launch, memory preflight check, disk preflight check (#3940)
* fix multi container launch
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* refactor
* add preflight checks
* skip network
* postflight checks
* rename pre/post init methods
Change-Id: Ie2a7027f782823c61f0e414d91e6d4fd4a6b2f7c
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
* Update startup_funcs.sh
2017-01-31 12:22:12 -08:00
Tyler Jewell a425a94f90 port fix (#3734) 2017-01-14 07:45:10 -08:00
Tyler Jewell cfc39c2f70 CLI - Separate debugging apart from local repo (#3581) 2017-01-05 05:25:52 -08:00
Tyler Jewell 4e013b4c35 Che CLI Improvements (#3301)
* cli improvements
* usage
* docs
* Remove need to mount :/cli
* DNS resolver check
* proxy detection
* export proxy
* Downgrade docker client to 1.10
2016-12-08 11:08:15 -08:00
Roman Iuvshin 871437aa9e single compose file template (#3290)
* single compose file template
2016-12-06 16:00:19 +02:00
Florent BENOIT 56ddd58481 Move eclipse/che-dockerfiles che-* images to this repository in /dockerfiles folder
Change-Id: I4c258775a4a67a87cba3b3dbfbc1af2cc2f8416f
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-12-01 06:10:34 -07:00