Updated docs for docker configuration (#322)
This commit is contained in:
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user