Last active
September 20, 2018 01:43
-
-
Save yukithm/a3727bc0c8d551b94d771f4d99d20741 to your computer and use it in GitHub Desktop.
Docker Rocket.Chat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
rocketchat: | |
container_name: rocketchat | |
image: rocket.chat:latest | |
restart: on-failure:3 | |
volumes: | |
- ./uploads:/app/uploads | |
depends_on: | |
- db | |
ports: | |
- 3000:3000 | |
environment: | |
- PORT=3000 | |
- ROOT_URL=http://localhost:3000 | |
# - MONGO_URL=mongodb://mongo:27017/rocketchat | |
# - MAIL_URL=smtp://smtp.email | |
# - HTTP_PROXY=http://proxy.domain.com | |
# - HTTPS_PROXY=http://proxy.domain.com | |
db: | |
container_name: rocketchat-mongo | |
image: mongo:latest | |
restart: unless-stopped | |
volumes: | |
- ./data/db:/data/db | |
- ./data/dump:/data/dump | |
command: --smallfiles --oplogSize 128 | |
# hubot, the popular chatbot (add the bot user first and change the password before starting this image) | |
# hubot: | |
# image: rocketchat/hubot-rocketchat:latest | |
# restart: unless-stopped | |
# environment: | |
# - ROCKETCHAT_URL=rocketchat:3000 | |
# - ROCKETCHAT_ROOM=GENERAL | |
# - ROCKETCHAT_USER=bot | |
# - ROCKETCHAT_PASSWORD=botpassword | |
# - BOT_NAME=bot | |
# # you can add more scripts as you'd like here, they need to be installable by npm | |
# - EXTERNAL_SCRIPTS=hubot-help,hubot-seen,hubot-links,hubot-diagnostics | |
# depends_on: | |
# - rocketchat | |
# labels: | |
# - "traefik.enable=false" | |
# volumes: | |
# - ./scripts:/home/hubot/scripts | |
# # this is used to expose the hubot port for notifications on the host on port 3001, e.g. for hubot-jenkins-notifier | |
# ports: | |
# - 3001:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment