Advertisement
Munfaqqiha

codenvy's workspace config

Jan 14th, 2017
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.67 KB | None | 0 0
  1. {
  2.   "defaultEnv": "default",
  3.   "commands": [
  4.     {
  5.       "commandLine": "sudo service apache2 start && sudo tail -f /var/log/apache2/access.log -f /var/log/apache2/error.log",
  6.       "name": "start apache",
  7.       "type": "custom",
  8.       "attributes": {
  9.         "previewUrl": "http://www.munfaqqiha.ml:33662/${current.project.relpath}"
  10.         // port range: 32768-65535
  11.       }
  12.     },
  13.     {
  14.       "commandLine": "sudo service apache2 stop",
  15.       "name": "stop apache",
  16.       "type": "custom",
  17.       "attributes": {
  18.         "previewUrl": "http://www.munfaqqiha.ml:33662/${current.project.relpath}"
  19.         // port range: 32768-65535
  20.       }
  21.     },
  22.     {
  23.       "commandLine": "sudo service apache2 restart",
  24.       "name": "restart apache",
  25.       "type": "custom",
  26.       "attributes": {
  27.         "previewUrl": "http://www.munfaqqiha.ml:33662/${current.project.relpath}"
  28.         // port range: 32768-65535
  29.       }
  30.     }
  31.   ],
  32.   "projects": [],
  33.   "environments": {
  34.     "default": {
  35.       "machines": {
  36.         "dev-machine": {
  37.           "agents": [
  38.             "org.eclipse.che.terminal",
  39.             "org.eclipse.che.ws-agent",
  40.             "org.eclipse.che.ssh",
  41.             "org.eclipse.che.ls.php",
  42.             "org.eclipse.che.ls.json"
  43.           ],
  44.           "servers": {},
  45.           "attributes": {
  46.             "memoryLimitBytes": "2147483648"
  47.           },
  48.           "source": {
  49.             "type": "dockerfile",
  50.             "content": "FROM codenvy/php"
  51.           }
  52.         }
  53.       },
  54.       "recipe": {
  55.         "location": "codenvy/php",
  56.         "type": "dockerimage"
  57.       }
  58.     }
  59.   },
  60.   "name": "Apache",
  61.   "links": [],
  62.   "description": null
  63. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement