# Come eseguire Redis in modalità protetta in standalone?

**URL:** https://meta.discourse.org/t/how-to-run-redis-standalone-in-protected-mode/98787
**Category:** Self-hosting
**Created:** [5 Ottobre 2018, 8:33am UTC](https://meta.discourse.org/t/how-to-run-redis-standalone-in-protected-mode/98787 "2018-10-05T08:33:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![omariqbalnaru](https://avatars.discourse-cdn.com/v4/letter/o/8dc957/32.png) [@omariqbalnaru](https://meta.discourse.org/u/omariqbalnaru)
#### Post date: [5 Ottobre 2018, 8:33am UTC](https://meta.discourse.org/t/how-to-run-redis-standalone-in-protected-mode/98787/1 "2018-10-05T08:33:37Z")

</div>

We want to setup redis standalone and run it in protected mode. Any idea on how to do that?

Thanks!

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [5 Ottobre 2018, 10:25am UTC](https://meta.discourse.org/t/how-to-run-redis-standalone-in-protected-mode/98787/2 "2018-10-05T10:25:41Z")

</div>

Is this related to Discourse?

---

<div class="post-metadata">

### Author: ![omariqbalnaru](https://avatars.discourse-cdn.com/v4/letter/o/8dc957/32.png) [@omariqbalnaru](https://meta.discourse.org/u/omariqbalnaru)
#### Post date: [5 Ottobre 2018, 11:14am UTC](https://meta.discourse.org/t/how-to-run-redis-standalone-in-protected-mode/98787/3 "2018-10-05T11:14:30Z")

</div>

Sorry for not being clear the first time. Redis is used by Discourse. We want to separate it out from the main docker container and set it up on a standalone server.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [5 Ottobre 2018, 11:30am UTC](https://meta.discourse.org/t/how-to-run-redis-standalone-in-protected-mode/98787/4 "2018-10-05T11:30:52Z")

</div>

You’re welcome to do that, though it’s not really supported here. There are environment variables that you set to trek discourse where redis is. If you search here for “two container” you’ll see some examples.
