Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "defaultEnv": "default",
- "commands": [
- {
- "commandLine": "sudo service apache2 start && sudo tail -f /var/log/apache2/access.log -f /var/log/apache2/error.log",
- "name": "start apache",
- "type": "custom",
- "attributes": {
- "previewUrl": "http://www.munfaqqiha.ml:33662/${current.project.relpath}"
- // port range: 32768-65535
- }
- },
- {
- "commandLine": "sudo service apache2 stop",
- "name": "stop apache",
- "type": "custom",
- "attributes": {
- "previewUrl": "http://www.munfaqqiha.ml:33662/${current.project.relpath}"
- // port range: 32768-65535
- }
- },
- {
- "commandLine": "sudo service apache2 restart",
- "name": "restart apache",
- "type": "custom",
- "attributes": {
- "previewUrl": "http://www.munfaqqiha.ml:33662/${current.project.relpath}"
- // port range: 32768-65535
- }
- }
- ],
- "projects": [],
- "environments": {
- "default": {
- "machines": {
- "dev-machine": {
- "agents": [
- "org.eclipse.che.terminal",
- "org.eclipse.che.ws-agent",
- "org.eclipse.che.ssh",
- "org.eclipse.che.ls.php",
- "org.eclipse.che.ls.json"
- ],
- "servers": {},
- "attributes": {
- "memoryLimitBytes": "2147483648"
- },
- "source": {
- "type": "dockerfile",
- "content": "FROM codenvy/php"
- }
- }
- },
- "recipe": {
- "location": "codenvy/php",
- "type": "dockerimage"
- }
- }
- },
- "name": "Apache",
- "links": [],
- "description": null
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement