2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 06:15:26 +00:00
frappe_docker/docs/connect-to-localhost-services-from-containers-for-local-app-development.md
Revant Nandgaonkar e362c26fc1
docs: improve and organize docs (#791)
* docs: improve and organize docs

* docs: improve setup options
2022-05-02 05:47:53 +05:30

342 B

Add following to frappe container from the .devcontainer/docker-compose.yml:

...
  frappe:
    ...
    extra_hosts:
      app1.localhost: 172.17.0.1
      app2.localhost: 172.17.0.1
...

This is makes the domain names app1.localhost and app2.localhost connect to docker host and connect to services running on localhost.