Reopen in VS Code devcontainer, enter the frappe container.
For non VS Code development start containers with:
docker compose -p custom_bench -f .devcontainer/compose.yml up -dEnter development container with:
docker compose -p custom_bench exec -e "TERM=xterm-256color" -it frappe bashOnce in frappe container execute:
./setup.sh
cd frappe-bench
bench startOpen: http://custom.localhost:8000
If not using VS Code open development or development/frappe-bench directory from this repo in your editor.
Note: Add list of sites to frappe container's extra_hosts in .devcontainer/compose.yml for sites from same container to communicate with each other by using site name.
- Use ssh uri instead of https for app repo on
apps.json - Setup ssh keys for git access on host machine.
compose.ymlmounts${HOME}/.sshin container at/home/frappe/.ssh.