Update Docker & Kubernetes/Docker/Docker Compose/RocketChat.md
This commit is contained in:
@ -1,5 +1,12 @@
|
||||
**Purpose**: Deploy a RocketChat and MongoDB database together.
|
||||
|
||||
!!! info Folder Pre-Creation
|
||||
You need to make the folders for the Mongo database before launching the container stack for the first time. You can create the folder as well as adjust permissions with the following commands:
|
||||
``` sh
|
||||
mkdir -p /srv/containers/rocketchat/mongodb/data
|
||||
chmod -R 777 /srv/containers/rocketchat
|
||||
```
|
||||
|
||||
```jsx title="docker-compose.yml"
|
||||
services:
|
||||
rocketchat:
|
||||
|
Reference in New Issue
Block a user