# Docker for development vs the rails server + ember

**URL:** <https://meta.discourse.org/t/docker-for-development-vs-the-rails-server-ember/280661>\
**Category:** Self-hosting\
**Created:** [October 1, 2023, 11:51am UTC](https://meta.discourse.org/t/docker-for-development-vs-the-rails-server-ember/280661 "2023-10-01T11:51:30Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![PrettyGirl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/prettygirl/32/330415_2.png) [@PrettyGirl](https://meta.discourse.org/u/PrettyGirl)\
**Post date:** [October 1, 2023, 11:51am UTC](https://meta.discourse.org/t/docker-for-development-vs-the-rails-server-ember/280661/1 "2023-10-01T11:51:30Z")

</div>

I’ve read the following thread on setting up the discourse for the development environment.  
meta discourse org/t/install-discourse-on-macos-for-development/15772

However, it doesn’t say anything about enclosing discourse in docker.

But the production guide does mention the “docker”  
github com/discourse/discourse/blob/main/docs/INSTALL-cloud.md#5-install-discourse

I’m willing to host the site in AWS (amazon)

Further I noticed there’s a git repo for docker itself  
github com/docker/compose

and a discourse image for docker in git  
github com/discourse/discourse\_docker

I already installed the discourse on my macOS by cloning git repo for discourse and running it on rails server and ember CLI, and properly functioning. But I din’t use any “docker”

**My questions are:**

1. Can I use AWS server to install docker from the [https://github.com/docker/compose](https://github.com/docker/compose) and then place the discourse image [https://github.com/discourse/discourse\_docker](https://github!.com/discourse/discourse_docker) inside that docker? is that ok? is there any other proper method?

2. I’m willing to use the database of local server. So, will there be any issue when I want to copy the backups (posts/threads made while in the localhost server) to the production environment (the actual AWS server)?

Right now, i’m creating some dummy posts (proper ones) while in the localhost server, so the site will not be empty when it goes public.  
Is that the correct method or can the site be set to “under construction” mode or something even in the real AWS server, so people won’t see the empty site? so I can create some default posts while in the actual server?

---

_[View the full topic](https://meta.discourse.org/t/docker-for-development-vs-the-rails-server-ember/280661)._
