Updated docs for docker configuration (#322)
This commit is contained in:
parent
8ea74a21b0
commit
070f762293
3 changed files with 32 additions and 4 deletions
|
@ -83,3 +83,15 @@ POSTGRES_DATABASE=chatwoot_production
|
|||
POSTGRES_USERNAME=admin
|
||||
POSTGRES_PASSWORD=password
|
||||
```
|
||||
|
||||
### Rails Production Variables
|
||||
|
||||
For production deployment, you have to set the following variables
|
||||
|
||||
```bash
|
||||
RAILS_ENV=production
|
||||
SECRET_KEY_BASE=replace_with_your_own_secret_string
|
||||
```
|
||||
|
||||
You can generate `SECRET_KEY_BASE` using `rake secret` command from project root folder.
|
||||
|
||||
|
|
|
@ -78,7 +78,13 @@ to see the application up and running.
|
|||
|
||||
### Docker for production
|
||||
|
||||
On the root directory run the following command :
|
||||
You can use our official Docker image from [https://hub.docker.com/r/chatwoot/chatwoot](https://hub.docker.com/r/chatwoot/chatwoot)
|
||||
|
||||
```bash
|
||||
docker pull chatwoot/chatwoot
|
||||
```
|
||||
|
||||
You can create an image yourselves by running the following command on the root directory.
|
||||
|
||||
```bash
|
||||
docker image build -f docker/Dockerfile .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue