chore: introduce .devcontainer
This commit is contained in:
		
							
								
								
									
										47
									
								
								.devcontainer/devcontainer.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								.devcontainer/devcontainer.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,47 @@ | ||||
| { | ||||
|   "name": "Automatisch", | ||||
|   "dockerComposeFile": "docker-compose.yml", | ||||
|   "service": "app", | ||||
|   "workspaceFolder": "/workspace", | ||||
|   "features": { | ||||
|     "ghcr.io/devcontainers/features/git:1": { | ||||
|       "version": "latest" | ||||
|     }, | ||||
|     "ghcr.io/devcontainers/features/node:1": { | ||||
|       "version": 16 | ||||
|     }, | ||||
|     "ghcr.io/devcontainers/features/common-utils:1": { | ||||
|       "username": "vscode", | ||||
|       "uid": 1000, | ||||
|       "gid": 1000, | ||||
|       "installZsh": true, | ||||
|       "installOhMyZsh": true, | ||||
|       "configureZshAsDefaultShell": true, | ||||
|       "upgradePackages": true | ||||
|     } | ||||
|   }, | ||||
|  | ||||
|   "portsAttributes": { | ||||
|     "3000": { | ||||
|       "label": "Backend", | ||||
|       "onAutoForward": "silent", | ||||
|       "protocol": "http" | ||||
|     }, | ||||
|     "3001": { | ||||
|       "label": "Frontend", | ||||
|       "onAutoForward": "silent", | ||||
|       "protocol": "http" | ||||
|     } | ||||
|   }, | ||||
|  | ||||
|   "forwardPorts": [3000, 3001], | ||||
|  | ||||
|   // Use 'postCreateCommand' to run commands after the container is created. | ||||
|   "postCreateCommand": ["bash", ".devcontainer/boot.sh"] | ||||
|  | ||||
|   // Configure tool-specific properties. | ||||
|   // "customizations": {}, | ||||
|  | ||||
|   // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||||
|   // "remoteUser": "root" | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Ali BARIN
					Ali BARIN