Commit Graph

23 Commits (a0a51f6d7752a5e5fa72dfe74b5fa34c07d832cc)

Author SHA1 Message Date
Anton Korneta c34d359921 Change public stacks, recipes loading policy (#5234) 2017-06-20 11:31:00 +03:00
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 4813a1a712 fix CHE custom properties usage (#5103) 2017-05-17 10:33:33 +03:00
Alexander Garagatyi b3ce50f7cf Do not set debug log level when debug flag is used
Unset debug level when --debug is used to not use it as default behavior.
To set debug log level use env variable from CLI help.
2017-04-20 16:59:41 +03: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
Roman Iuvshin c487a5af2a Remove no proxy duplicates (#4285)
* Remove no proxy duplicates
2017-03-01 23:55:47 +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
Yevhenii Voevodin 02a60a29c1 Allow to override JAVA_OPTS from che.env 2017-02-15 10:58:27 +02:00
Tyler Jewell bb03ebd936 [cli] Simpler networking config explanation & command line overrides (#4114)
* Simpler networking config explanation & command line overrides
2017-02-14 19:01:23 +02:00
Yevhenii Voevodin 9370327d46 Inject MAVEN_OPTS environment variable along with JAVA_OPTS to container 2017-02-14 17:50:56 +02:00
Tyler Jewell 8287fb66d3 Refactor CLI: Faster boot, add `--help` global option, standardize command lifecycle (#4006)
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* multi container fixup
* Update images
* add --help parameter
* move entrypoint
* remove empty
2017-02-06 07:37:08 -08: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
Florent BENOIT 6d459be382 machine logs should go in /logs/ folder as well (not in /data)
Change-Id: I
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-01-27 15:38:18 +01: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
Florent BENOIT eee092c76d in development mode, enable debug mode (it will start Tomcat with jpda mode) (#3371)
Fix #3367

Change-Id: I1de413e1e7b5fce4631055811b2b2b879b3052aa
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-12-13 09:17:38 -07: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 8cb09a8c39 fix no proxy issue (#3325)
* fix no proxy issue
2016-12-08 18:53:57 +02:00
Roman Iuvshin 4c587d5248 Configure Master & Agent JVMs to Inherit Proxy Settings (#3323)
* Configure Master & Agent JVMs to Inherit Proxy Settings
2016-12-08 15:59:43 +02:00
Roman Iuvshin 871437aa9e single compose file template (#3290)
* single compose file template
2016-12-06 16:00:19 +02:00
Florent BENOIT 4f83334a10 add all CHE_ properties to che.env file at first (#3246)
Change-Id: Ia7a48355d81dc1ba7b4b86726038637ef3e44e68
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-12-01 10:56:21 -07: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