- Fix issues with the current Chatwoot development codespaces - Switch from webpacket to vite - Add additional configs to make the development easier with codespaces - toggles v4 feature true as default
41 lines
908 B
JSON
41 lines
908 B
JSON
{
|
|
"name": "Chatwoot Development Codespace",
|
|
"service": "app",
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
|
|
"settings": {
|
|
"terminal.integrated.shell.linux": "/bin/zsh"
|
|
},
|
|
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
"extensions": [
|
|
"rebornix.Ruby",
|
|
"misogi.ruby-rubocop",
|
|
"wingrunr21.vscode-ruby",
|
|
"davidpallinder.rails-test-runner",
|
|
"eamodio.gitlens",
|
|
"github.copilot",
|
|
"mrmlnc.vscode-duplicate"
|
|
],
|
|
|
|
|
|
// 5432 postgres
|
|
// 6379 redis
|
|
// 1025,8025 mailhog
|
|
"forwardPorts": [8025, 3000, 3036],
|
|
|
|
"postCreateCommand": ".devcontainer/scripts/setup.sh && POSTGRES_STATEMENT_TIMEOUT=600s bundle exec rake db:chatwoot_prepare && pnpm install",
|
|
"portsAttributes": {
|
|
"3000": {
|
|
"label": "Rails Server"
|
|
},
|
|
"3036": {
|
|
"label": "Vite Dev Server"
|
|
},
|
|
"8025": {
|
|
"label": "Mailhog UI"
|
|
}
|
|
}
|
|
}
|