작동하지 않습니다 지금은 hubot 이야기 만들기 위해 노력하고 있습니다 :hubot의 rocketchat 어댑터 내가 디지털 오션 물방울에 rocket.chat 및 hubot (우분투) 설치
내가 실행
hubot -a rocketchat
내가 얻을 :
ERROR Cannot load adapter rocketchat - Error: Cannot find module 'hubot-rocketchat'
이 무슨의 이유가 될 수 있는가? 여기
내 고정 표시기-compose.yml입니다 :db:
image: mongo
volumes:
- ./data/runtime/db:/data/db
- ./data/dump:/dump
command: mongod --smallfiles
rocketchat:
image: rocketchat/rocket.chat:latest
environment:
- MONGO_URL=mongodb://db:27017/rocketchat
- ROOT_URL=https://xxxxxxxxx:3000
- Accounts_UseDNSDomainCheck=True
links:
- db:db
ports:
- 3000:3000
hubot:
image: rocketchat/hubot-rocketchat:v0.1.4 # rocketchat/hubot- rocketchat
environment:
- ROCKETCHAT_URL=http://xxxxxxx:3000
- ROCKETCHAT_ROOM=
- LISTEN_ON_ALL_PUBLIC=true
- ROCKETCHAT_USER=alicja
- ROCKETCHAT_PASSWORD=xxxxx
- BOT_NAME=alicja
- EXTERNAL_SCRIPTS=hubot-help,hubot-seen,hubot-links,hubot- greetings, example.coffee
links:
- rocketchat:rocketchat
# 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
편집 : 나는 두 hubot을 다시 설치하고 고정 표시기-작성을 사용하는 지금은 로봇처럼 보이는 rocket.chat 로켓에 연결되어
-chat (녹색 불빛), 응답하지 않습니다 (@botname 도움말 사용). 사전에 어떤 도움
감사 :
는 다시 여기 내 고정 표시기 - compose.yml입니다.
편집 2
확인을 클릭합니다. 엉덩이가 위로있어. 분명히 image_and의 _hubot 이미지 rocketchat rocketchat imagee이 다른 문제가 DUH (이
image: rocketchat/hubot-rocketchat:latest
.yml
의 hubot 부분에 ... :
image: rocketchat/hubot-rocketchat:v0.1.4
에 : 나는 변경했다)
그러나 여전히 어떻게 도커 작성으로 시작된 hubot를 서비스합니까? 예를 들어. 어디에 (폴더 위치), npm을 실행하여 [스크립트 이름]을 설치하여 hubot에 추가해야합니까? .yml 파일과 동일한 폴더가 있습니까?
어떻게 스크립트를 사용자 정의 할 수 있습니까? 그들은 어디에 있습니까?
어떻게 hubot을 실행합니까? docker-compose.yml에 있다면,'docker-compose up'을 할 때 자동으로 올라와야합니다. 로그를 확인할 수 있습니까? –
나는 나의 이전 코멘트를 삭제하고 위에 나의 질문을 편집했다. Rocket.Chat가 작동 중입니다. 로그를 확인하려면 어떻게합니까? –