# Discourse+Docker+AWS - "bootstrap" talks to DB fine, "run" doesn't

**URL:** <https://meta.discourse.org/t/discourse-docker-aws-bootstrap-talks-to-db-fine-run-doesnt/27464>\
**Category:** Self-hosting\
**Created:** [April 11, 2015, 11:13pm UTC](https://meta.discourse.org/t/discourse-docker-aws-bootstrap-talks-to-db-fine-run-doesnt/27464 "2015-04-11T23:13:08Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![j00bar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j00bar/32/115953_2.png) [@j00bar](https://meta.discourse.org/u/j00bar)\
**Post date:** [April 13, 2015, 2:16pm UTC](https://meta.discourse.org/t/discourse-docker-aws-bootstrap-talks-to-db-fine-run-doesnt/27464/7 "2015-04-13T14:16:12Z")

</div>

The value goes from a YAML file from `discourse_docker` (which is in my control and is quoted and therefore correctly goes) to an environment variable inside the container. The environment shows the correct value. From that point it goes to Ruby (not in my control), and judging by the comments in `config/application.yml` about the production rails environment, probably not via YAML again. Regardless, I did my end right - this is a bug, and clearly fixable as evidenced by the fact that `rake db:migrate` was still able to work. 😄

---

_[View the full topic](https://meta.discourse.org/t/discourse-docker-aws-bootstrap-talks-to-db-fine-run-doesnt/27464)._
