2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2025-01-08 00:04:37 +00:00
frappe_docker/docs/connect-to-localhost-services-from-containers-for-local-app-development.md

11 lines
333 B
Markdown
Raw Normal View History

2022-01-10 08:40:25 +00:00
Not using separate container
Add following to frappe container from the `.devcontainer/docker-compose.yml`:
```yaml
2022-02-08 11:45:07 +00:00
extra_hosts:
app1.localhost: 172.17.0.1
app2.localhost: 172.17.0.1
2022-01-10 08:40:25 +00:00
```
This is makes the domain names `app1.localhost` and `app2.localhost` connect to docker host and connect to services running on `localhost`.