---
title: "Comment by Sulman Baig on \"Deploying Rails 8 Applications: A Complete Guide with Docker, Kamal, and Cloudflare\" | Hashnode"
description: "Wilson Mayers Thanks for the appreciation. I haven't came across the issue you are mentioning but keep in mind my postgres user is postgres and I am only gettin"
url: "https://hashnode.com/posts/deploy-rails-8-docker-kamal-production-guide/677f58033dfcb548f2d4637e/comment/67905bb4eb6fc91995977122"
---

[Discussion](https://hashnode.com/posts/deploy-rails-8-docker-kamal-production-guide/677f58033dfcb548f2d4637e)

Comment [Deploying Rails 8 Applications: A Complete Guide with Docker, Kamal, and Cloudflare](https://hashnode.com/posts/deploy-rails-8-docker-kamal-production-guide/677f58033dfcb548f2d4637e)

[Sulman Baig](https://hashnode.com/@sulmanweb)

[Jan 22, 2025](https://hashnode.com/posts/deploy-rails-8-docker-kamal-production-guide/677f58033dfcb548f2d4637e/comment/67905bb4eb6fc91995977122)

[Wilson Mayers](https://hashnode.com/@wilsonmayers) Thanks for the appreciation.

I haven't came across the issue you are mentioning but keep in mind my postgres user is `postgres` and I am only getting password of db in this tutorial and username is hardcoded. Also please make sure your database.yml file has:

```
<% if ENV["DB_HOST"] %>
host: <%= ENV["DB_HOST"] %>
username: postgres
<% end %>
```

for production db.

Hoping this resolves your issue. If issue still persists, contact me and may be we can come to some solution together.
