Compare commits

..

4 Commits

Author SHA1 Message Date
LRVT
945e3a95cb
Update README.md
fix typo
2023-04-02 18:25:57 +02:00
LRVT
2733943215
Update docker-compose.yml
add note about file upload directory
2023-04-02 18:11:33 +02:00
LRVT
f4ba2ed8af
Update docker-compose.yml
add volume definition for rocketchat
2023-04-02 17:53:31 +02:00
LRVT
3627f0d091
Update README.md
add some notes regarding permission errors
2023-04-02 17:42:17 +02:00
2 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,20 @@
# References
- https://github.com/RocketChat/Docker.Official.Image
# Notes
The mongodb container will likely throw a permission error when being started for the first time.
````
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
````

View File

@ -17,6 +17,8 @@ services:
# - traefik.http.routers.rocketchat.middlewares=local-ipwhitelist@file
#networks:
# - proxy
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/rocketchat/uploads:/app/uploads # only use if you enable filesystem upload in the admin area; see https://docs.rocket.chat/use-rocket.chat/workspace-administration/settings/file-upload#storage-type
environment:
MONGO_URL: "${MONGO_URL:-\
mongodb://${MONGODB_ADVERTISED_HOSTNAME:-mongodb}:${MONGODB_INITIAL_PRIMARY_PORT_NUMBER:-27017}/\