Advertisement
Guest User

che.properties

a guest
Feb 23rd, 2016
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #
  2. # Copyright (c) 2012-2016 Codenvy, S.A.
  3. # All rights reserved. This program and the accompanying materials
  4. # are made available under the terms of the Eclipse Public License v1.0
  5. # which accompanies this distribution, and is available at
  6. # http://www.eclipse.org/legal/epl-v10.html
  7. #
  8. # Contributors:
  9. #   Codenvy, S.A. - initial API and implementation
  10. #
  11.  
  12. # range of available service ports
  13. #sys.resources.min_port=49152
  14. #sys.resources.max_port=65535
  15.  
  16. ### Storage and user configuration
  17. # The location where your workspaces (and their projects) are stored.
  18. # This property is ignored on Windows due to limitations with VirtualBox
  19. # On Windows, all workspaces stored in c:\%userprofile%\AppData\Local\Eclipse Che\
  20. che.user.workspaces.storage=${che.home}/workspaces
  21.  
  22. # Your projects are synchronized from the Che server into the machine running each
  23. # workspace. This is the directory in the machine where your projects are placed.
  24. che.machine.projects.internal.storage=/projects
  25.  
  26. # Che stores various internal data objects as JSON on the file system.
  27. che.conf.storage=${catalina.base}/temp/local-storage
  28.  
  29. # The dashboard uses this to manage direction of requests to the IDE
  30. # Generally, do not modify.
  31. che.ide.context=ide
  32.  
  33. ### Configuration of embedded templates and samples
  34. # Folder that contains JSON files with code templates and samples
  35. project.template_location_dir=${che.home}/templates
  36.  
  37. # Folder that contains source code for templates, if you do not want to clone from URL.
  38. project.template_descriptions_dir=${che.home}/templates
  39.  
  40. ### Configuration of embedded stacks
  41. #Path to predefined stacks json
  42. stack.predefined.list.json=${che.home}/stacks/predefined-stacks.json
  43. #Path to folder with predefined stack icons
  44. stack.predefined.icons.folder=${che.home}/stacks/stack_img
  45.  
  46. ### oAuth configuration. You can setup GitHub oAuth to automate authentication to remote
  47. ### repositories. You need to first register this application with GitHub oAuth.
  48. # GitHub application client ID
  49. oauth.github.clientid=***
  50. oauth.github.clientsecret=***
  51. oauth.github.authuri= https://github.com/login/oauth/authorize
  52. oauth.github.tokenuri= https://github.com/login/oauth/access_token
  53. oauth.github.redirecturis= http://localhost:${SERVER_PORT}/ide/api/oauth/callback
  54. auth.oauth.access_denied_error_page=/error-oauth
  55.  
  56. # Activates user self-service at the API level.
  57. # Che has a single identity implementation, so this does not change the user experience.
  58. # If true, enables user creation at API level
  59. user.self.creation.allowed=false
  60.  
  61. # Remove locations where internal message bus events should be propagated to.
  62. # For debugging - set to retrieve internal events from external clients.
  63. notification.server.propagate_events=
  64.  
  65. # Che extensions can be scheduled executions on a time basis.
  66. # This configures the size of the thread pool allocated to extensions that are launched on
  67. # a recurring schedule.
  68. schedule.core_pool_size=10
  69.  
  70. ### Docker is the default machine implementation within Che. Workspaces are powered by machines
  71. ### that are constructed when the workspace is started. The images used to generate containers
  72. ### for the machines can come from DockerHub or a private Docker registry.
  73. machine.docker.registry=${CHE_REGISTRY_HOST}:5000
  74. docker.registry.auth.url=http://${CHE_REGISTRY_HOST}:5000
  75. docker.registry.auth.username=user1
  76. docker.registry.auth.password=pass
  77. docker.registry.auth.email=user1@email.com
  78. docker.connection.tcp.connection_timeout_ms=600000
  79. docker.connection.tcp.read_timeout_ms=600000
  80.  
  81. ### Machine configuration.  Machines power workspaces. This configures the Che behaviors that
  82. ### occur within the machine.
  83.  
  84. # This archive contains the server to run the workspace agent and any custom extensions.
  85. # Che injects this archive into machines when they are booted or started.
  86. machine.server.ext.archive=${che.home}/lib/ws-agent.zip
  87.  
  88. # The location of the Web Socket terminal used within the browser.
  89. # This is copied into the machine and run from within it.
  90. machine.server.terminal.archive=${che.home}/lib/terminal
  91.  
  92. # The machine's log files are stored here
  93. machine.logs.location=${che.logs.dir}/machine/logs
  94.  
  95. # Size of the machine by default.  What is used if RAM parameter not provided by user or API.
  96. machine.default_mem_size_mb=1024
  97. machine.supported_docker_version=1.6.0,1.6.1,1.6.2,1.7.1,1.8.1
  98.  
  99. # When the workspace master launches a new workspace, Che performs checks of the internal Web
  100. # services. When Che gets a valid response, we know that the workspace agent is ready for use.
  101. machine.ws_agent.max_start_time_ms=600000
  102. machine.ws_agent.ping_delay_ms=2000
  103. machine.ws_agent.ping_conn_timeout_ms=2000
  104. machine.ws_agent.ping_timed_out_error_msg=Timeout reached. The Che server has been unable to verify that your workspace's agent has successfully booted. Either the workspace is unreachable, the agent had an error during startup, or your workspace is starting slowly. You can configure machine.ws_agent.max_start_time_ms in Che properties to increase the timeout.
  105.  
  106. # Hosts listed here will be added to /etc/hosts of each workspace machine.
  107. # Add an entry here if you write a ws-agent extension that needs to communicate outside the machine
  108. machine.docker.machine_extra_hosts=NULL
  109.  
  110. # This is the API endpoint of the workspace master running within the core Che server.
  111. # This tells the workspace agent how to connect back to the Che server.
  112. # che-host is a fake DNS hostname that Che creates for itself.
  113. machine.docker.che_api.endpoint=http://che-host:${SERVER_PORT}/ide/api
  114.  
  115. # If this is true, then we always pull an image from a registry even if we have an image cached
  116. # locally. If false, Docker only pulls image if it does not exist locally.
  117. machine.docker.pull_image=true
  118.  
  119. # If the browser clients that are accessing Che are remote AND the configuration of Docker is an
  120. # internal IP address or using Unix sockets, then remote browser clients will not be able to connect
  121. # to the workspace. Set the Docker configuration so that Docker containers have an external IP
  122. # address and provide this host or IP address here.
  123. machine.docker.local_node_host=NULL
  124.  
  125. # URL path to api service.  
  126. # Browser clients use this to initiate REST communications with workspace master
  127. api.endpoint=http://localhost:${SERVER_PORT}/ide/api
  128.  
  129. #### Everrest is a Java Web Services toolkit that manages JAX-RS & web socket communications
  130. #### Users should rarely need to configure this.
  131. # Disable asynchronous mechanism that is embedded in everrest.
  132. org.everrest.asynchronous=false
  133. # Quantity of asynchronous requests which may be processed at the same time
  134. org.everrest.asynchronous.pool.size=20
  135. # Size of queue. If asynchronous request can't be processed after consuming it will be added in queue.
  136. org.everrest.asynchronous.queue.size=500
  137. # Timeout in minutes for request. If after timeout request is not done or client did not come yet to get result of request it may be discarded.
  138. org.everrest.asynchronous.job.timeout=10
  139. # Size of cache for waiting, running and ended request.
  140. org.everrest.asynchronous.cache.size=1024
  141. # Path to asynchronous service
  142. org.everrest.asynchronous.service.path=/async/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement