-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.codenvy.json
80 lines (80 loc) · 1.88 KB
/
.codenvy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"v": "4.0",
"policies" : {
"create" : "perUser"
},
"workspace": {
"defaultEnv": "php",
"environments": [
{
"name": "php",
"machineConfigs": [
{
"limits": {
"ram": 1000
},
"name": "ws-machine",
"type": "docker",
"source": {
"location": "http://beta.codenvy.com/api/recipe/recipehfmfy5re4n6l2a9u/script",
"type": "recipe"
},
"dev": true
}
]
}
],
"projects": [
{
"links": [],
"name": "web-php-simple",
"attributes": {
"language": [
"java"
]
},
"type": "java",
"source": {
"location": "https://github.com/che-samples/web-php-simple.git",
"type": "git",
"parameters": {}
},
"modules": [],
"path": "/web-php-simple",
"problems": [],
"mixins": [
"git"
]
}
],
"name": "php",
"attributes": {},
"commands": [
{
"commandLine": "sudo service apache2 start && sudo tail -f /var/log/apache2/access.log -f /var/log/apache2/error.log",
"name": "web-php-simple: start apache",
"attributes": {
"previewUrl": "http://${server.port.80}/${current.project.relpath}"
},
"type": "custom"
},
{
"commandLine": "sudo service apache2 stop",
"name": "web-php-simple: stop apache",
"attributes": {
"previewUrl": ""
},
"type": "custom"
},
{
"commandLine": "sudo service apache2 restart",
"name": "web-php-simple: restart apache",
"attributes": {
"previewUrl": "http://${server.port.80}/${current.project.relpath}"
},
"type": "custom"
}
],
"links": []
}
}