# Docker and Browsersync

**URL:** <https://community.kinsta.com/t/docker-and-browsersync/956>\
**Category:** Application Support\
**Created:** [August 27, 2021, 6:21pm UTC](https://community.kinsta.com/t/docker-and-browsersync/956 "2021-08-27T18:21:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgrueda](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/dgrueda/32/804_2.png) [@dgrueda](https://community.kinsta.com/u/dgrueda)\
**Post date:** [August 27, 2021, 6:21pm UTC](https://community.kinsta.com/t/docker-and-browsersync/956/1 "2021-08-27T18:21:19Z")

</div>

Hi, I’m developing my CSS and JS using gulp and BrowserSync to have a live reload of the site when I save changes on my files.

My issue is that BrowserSync is creating a server on localhost:3000 instead of accessing the Docker container. To do this, I can use the “proxy” option of BrowserSync (as you can see in this [stackoverflow answer](https://stackoverflow.com/questions/42456424/browsersync-within-a-docker-container))

The module docs [also say that](https://browsersync.io/docs/gulp).

```auto
gulp.task('browser-sync', function() {
    browserSync.init({
        proxy: "yourlocal.dev"
    });
});

```

But I can’t find the docker-compose.yml file for my project (not sure where it’s created), or the hostname/port. I’m trying to use the URL I use to access the dev site (mysitecom.local) but it doesn’t work.

Any idea what can I do?

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [September 20, 2021, 2:53pm UTC](https://community.kinsta.com/t/docker-and-browsersync/956/2 "2021-09-20T14:53:53Z")

</div>

Hi @dgrueda . I’m sorry for the wait and issues here. While I don’t have resources to provide on how to resolve this, I think this would make for a fantastic [feature request](https://community.kinsta.com/c/feature-requests/6) to integrate right within DevKinsta.

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [November 10, 2021, 2:53pm UTC](https://community.kinsta.com/t/docker-and-browsersync/956/3 "2021-11-10T14:53:03Z")

</div>

We haven’t heard back from you on this topic in a while. However, if you do need further assistance you can simply create a new topic on the forum. Thank you again for using DevKinsta. Let us know if you need further assistance! 👋

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [November 10, 2021, 2:53pm UTC](https://community.kinsta.com/t/docker-and-browsersync/956/4 "2021-11-10T14:53:04Z")

</div>


