Skip to content

Commit b792c27

Browse files
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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

self-hosted/deployment/docker.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Tweak the `.env` and `docker-compose.yaml` according to your preferences. Refer
5050
```bash
5151
# update redis and postgres passwords
5252
nano .env
53-
# update docker-compose.yaml same postgres pass
53+
# update docker-compose.yaml same postgres pass and database name
5454
nano docker-compose.yaml
5555
```
5656

0 commit comments

Comments
 (0)