# Using Studio without ngrok (Docker Swarm)

**URL:** <https://community.replicated.com/t/using-studio-without-ngrok-docker-swarm/149>\
**Category:** Packaging an application\
**Created:** [May 22, 2018, 1:34am UTC](https://community.replicated.com/t/using-studio-without-ngrok-docker-swarm/149 "2018-05-22T01:34:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![grant](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/grant/32/9_2.png) [@grant](https://community.replicated.com/u/grant)\
**Post date:** [May 22, 2018, 1:34am UTC](https://community.replicated.com/t/using-studio-without-ngrok-docker-swarm/149/1 "2018-05-22T01:34:54Z")

</div>

I’d like to use Studio without ngrok on Docker Swarm.

---

<div class="post-metadata">

**Author:** ![grant](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/grant/32/9_2.png) [@grant](https://community.replicated.com/u/grant)\
**Post date:** [May 22, 2018, 1:35am UTC](https://community.replicated.com/t/using-studio-without-ngrok-docker-swarm/149/2 "2018-05-22T01:35:28Z")

</div>

You’ll need to install Studio onto your development server (not your development machine like you would do w/ ngrok).

First, use our simple installation script (on a Linux server in your IaaS provider of choice, or in a local dev environment in Vagrant/VirtualBox) to install Replicated with Swarm.

```bash
curl -sSL https://get.replicated.com/swarm-init | sudo bash

```

### Update the Replicated Configuration

Find the private IP of the host:

```bash
sudo docker info --format "{{.Swarm.NodeAddr}}"

```

Update the `replicated_replicated` Swarm service and change the environment variable `MARKET_BASE_URL` to `http://[private-ip-address]:8006`. For example if your the ip you obtained from the previous command was `10.138.0.4` you will run the following:

```bash
sudo docker service update replicated_replicated \
    --env-add MARKET_BASE_URL=http://10.138.0.4:8006

```

### Run Replicated Studio

```bash
mkdir -p $HOME/replicated

sudo docker run --name studio -d \
    --restart always \
    -v $HOME/replicated:/replicated \
    -p 8006:8006 \
    replicated/studio:latest

```

From there you’ll need to iterate on your YAML:

> [@Iterating on YAML with Studio without ngrok](http://community.replicated.com/t/iterating-on-yaml-with-studio-without-ngrok/150):
>
> I’d like to iterate on my yaml with studio without using ngrok

---

<div class="post-metadata">

**Author:** ![grant](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/grant/32/9_2.png) [@grant](https://community.replicated.com/u/grant)\
**Post date:** [March 22, 2022, 9:02pm UTC](https://community.replicated.com/t/using-studio-without-ngrok-docker-swarm/149/3 "2022-03-22T21:02:12Z")

</div>


