Skip to content

Commit

Permalink
upd instructions and comments for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Jun 6, 2018
1 parent 8609956 commit 50b9c1c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ All images are available at https://hub.docker.com/r/tinode/

## Optional

### Resetting the data
### Reset data in the database

If you want to reset the data in the database, shut down the Tinode container and remove it:
```
$ docker stop tinode-srv && docker rm tinode-srv
```
then repeat step 4 to run the image again with `--env RESET_DB=true`.
then repeat step 4 adding `--env RESET_DB=true`.


### Running the chatbot
### Run the chatbot

See [instructions](../chatbot/).

6 changes: 3 additions & 3 deletions server/tinode.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"api_key_salt": "T713/rYYgW7g4m3vG6zGRh7+FM1t0T8j13koXScOAj4=",

// Maximum message size allowed from client in bytes (262144 = 256KB).
// Intended to prevent malicious clients from sending very large files.
// Intended to prevent malicious clients from sending very large files inband.
"max_message_size": 262144,

// Maximum number of subscribers per group topic.
Expand All @@ -28,8 +28,8 @@
// Maximum number of indexable tags per topic or user.
"max_tag_count": 16,

// Maximum size of an uploaded file (10MB here, maybe change to 100MB = 104857600 in prod)
"max_file_upload": 10485760,
// Maximum size of an uploaded file (8MB here, maybe increase to 100MB = 104857600 in prod)
"max_file_upload": 8388608,

// File system location to store uploaded files.
"file_uploads_dir": "uploads",
Expand Down

0 comments on commit 50b9c1c

Please sign in to comment.