2023-02-19 05:02:58 +00:00
|
|
|
# References
|
|
|
|
|
|
|
|
- https://github.com/RocketChat/Docker.Official.Image
|
2023-04-02 15:42:17 +00:00
|
|
|
|
|
|
|
# Notes
|
|
|
|
|
2023-04-02 16:25:57 +00:00
|
|
|
The mongodb container will likely throw a permission error when being started for the first time.
|
2023-04-02 15:42:17 +00:00
|
|
|
|
|
|
|
````
|
|
|
|
error: 'An error occurred when creating an index for collection "users: getaddrinfo EAI_AGAIN mongodb',
|
|
|
|
reason: undefined,
|
|
|
|
details: undefined,
|
|
|
|
errorType: 'Meteor.Error'
|
|
|
|
````
|
|
|
|
|
|
|
|
Therefore, you have to adjust the permissions of the mongodb volume path. For example with the following command:
|
|
|
|
|
|
|
|
````
|
|
|
|
sudo chmod -R 777 /mnt/docker-volumes/rocketchat
|
|
|
|
````
|