mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-02-24 08:58:42 +00:00
Compare commits
No commits in common. "945e3a95cb8e9c7f02e632ac23d79a30faf4850c" and "a2ae0fd5c06480d39b759ac1365857f61b2a5c3c" have entirely different histories.
945e3a95cb
...
a2ae0fd5c0
@ -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
|
||||
````
|
||||
|
@ -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}/\
|
||||
|
Loading…
x
Reference in New Issue
Block a user