# Docker setup for App and Redis

**URL:** <https://meta.discourse.org/t/docker-setup-for-app-and-redis/27110>\
**Category:** Self-hosting\
**Tags:** docker\
**Created:** [4월 2, 2015, 12:44오후 UTC](https://meta.discourse.org/t/docker-setup-for-app-and-redis/27110 "2015-04-02T12:44:05Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![chamunks](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chamunks/32/73257_2.png) [@chamunks](https://meta.discourse.org/u/chamunks)\
**Post date:** [4월 3, 2015, 4:42오전 UTC](https://meta.discourse.org/t/docker-setup-for-app-and-redis/27110/3 "2015-04-03T04:42:50Z")

</div>

@nileshtrivedi I’ve been currently working through this kind of thing myself. If I were in your shoes [I’d look at](https://github.com/discourse/discourse_docker/tree/master/samples):

```
samples/data.yml
samples/web_only.yml

```

Just take all of the Redis settings and references out of the data.yml and paste them into the web\_only.yml or you could try and work with this [roughly created web config](https://gist.github.com/chamunks/8dda23a752e1e3e92065). Along with this [roughly created data config](https://gist.github.com/chamunks/ee855037b9e77a105ed1).

Like a jerk I didn’t document anything or test anything so YMMV.

**Edit**  
WARNING please keep in mind that if the Redis server is intended to store data long term you may want to verify that this configuration will in fact actually save any data if you rebuild your web\_nosql container.

---

_[View the full topic](https://meta.discourse.org/t/docker-setup-for-app-and-redis/27110)._
