If your CPU support AVX or AVX2 use - mongo:5 if no support AVS use - mongo:4.4.
Step 0: Firewall on DSM - IS OFF (!) or use rules for Docker containet subnet after installation RocketChat.
Step: 1 Create folders in DSM for ex. volume1:
/volume1/docker/mongodb/db /volume1/docker/mongodb/dump
/volume1/docker/rocketchat/uploads
/volume1/docker/rocketchat/emoji
/volume1/docker/rocketchat/sounds
Step 2: Open Portainer or Docker Compose - Add Stack
Step 3: Use code on Docker-Compose.yaml
Step 4: Deploy
Step 5: Wait 5 min and open https://localhost:3111 or https://chat.domain.com
FYI:
-
Use revers proxy on DSM: https://chat.domain.com (442 port for https) to localhost:3111 (80 port) and include WebSocket.
-
Check accessess folder on DSM for /docker/rocketchat/uploads if allow File uploads if allow File storage type -> File system.