Compare commits

..

No commits in common. "945e3a95cb8e9c7f02e632ac23d79a30faf4850c" and "a2ae0fd5c06480d39b759ac1365857f61b2a5c3c" have entirely different histories.

2 changed files with 0 additions and 19 deletions

View File

@ -1,20 +1,3 @@
# 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,8 +17,6 @@ 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}/\