chore: Codespace Improvements (#4867)

- switch to ubuntu base image
- use rbenv to manage ruby 
- add gh to base image
This commit is contained in:
Sojan Jose
2022-06-17 03:07:07 +05:30
committed by GitHub
parent 205d42e978
commit db86263353
4 changed files with 48 additions and 15 deletions

View File

@@ -23,17 +23,18 @@
// 5432 postgres
// 6379 redis
// 1025,8025 mailhog
"forwardPorts": [8025],
//your application may need to listen on all interfaces (0.0.0.0) not just localhost for it to be available externally. Defaults to []
"appPort": [3000, 3035],
"forwardPorts": [8025, 3000, 3035],
"postCreateCommand": ".devcontainer/scripts/setup.sh && bundle exec rake db:chatwoot_prepare && yarn",
"portsAttributes": {
"3000": {
"label": "Rails Server"
},
"3035": {
"label": "Webpack Dev Server"
},
"8025": {
"label": "Mailhog UI"
}
},
}
}