Commit b792c27
authored
Update docker.mdx
Add advise for add the same database name of the docker-compose.yml to the .env file to prevent the deploy error.
By default on the .env file the POSTGRES_DATABASE variable is commented what causes the deploy command "docker compose run --rm rails bundle exec rails db:chatwoot_prepare" to create a default database with the name "chatwoot_production" which is different from the one in the compose file "chatwoot"
"We could not find your database: chatwoot_production. Available database configurations can be found in config/database.yml."1 parent d71d394 commit b792c27
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments