Update remote ports and readme
This commit is contained in:
		@@ -15,13 +15,7 @@
 | 
			
		||||
	// Set *default* container specific settings.json values on container create.
 | 
			
		||||
	"settings": { 
 | 
			
		||||
		"terminal.integrated.shell.linux": "/bin/bash",
 | 
			
		||||
		"php.validate.executablePath": "/usr/local/bin/php",
 | 
			
		||||
		"remote.portsAttributes": {
 | 
			
		||||
			"8000": {
 | 
			
		||||
				"label": "My Port",
 | 
			
		||||
				"onAutoForward": "notify"
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		"php.validate.executablePath": "/usr/local/bin/php"
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
	// Add the IDs of extensions you want installed when the container is created.
 | 
			
		||||
@@ -37,6 +31,14 @@
 | 
			
		||||
	// Use 'postCreateCommand' to run commands after the container is created.
 | 
			
		||||
	// "postCreateCommand": "sudo chmod a+x \"$(pwd)\" && sudo rm -rf /var/www/html && sudo ln -s \"$(pwd)\" /var/www/html"
 | 
			
		||||
 | 
			
		||||
	// Use 'portsAttributes' to set default properties for specific forwarded ports.
 | 
			
		||||
	"portsAttributes": {
 | 
			
		||||
		"8000": {
 | 
			
		||||
			"label": "Hello Remote World",
 | 
			
		||||
			"onAutoForward": "notify"
 | 
			
		||||
		}
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
	// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
 | 
			
		||||
	"remoteUser": "vscode"
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user