Skip to content

Commit

Permalink
Update devcontainer config - rename remote user and add post-start cmd
Browse files Browse the repository at this point in the history
Changed the remote user from 'devbox-user' to 'devbox'. Added a post-start command to initialize the Devbox environment and run the Spring Boot application using Maven.
  • Loading branch information
jcardozo committed Sep 16, 2024
1 parent cdca497 commit 67a1089
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"terminal.integrated.shell.linux": "/bin/bash"
},
"forwardPorts": [8080],
"remoteUser": "devbox-user"
"remoteUser": "devbox",
"postStartCommand": "bash -c 'source ~/.devbox/shell && mvn spring-boot:run'"
}

0 comments on commit 67a1089

Please sign in to comment.