Answer the question
In order to leave comments, you need to log in
Bundle of Ngrok, Microsoft bot framework, docker-compose?
Colleagues, welcome.
I use Microsoft bot framework
It works great, but if I run it in a container it stops working.
That is, he cannot knock outside.
I get an error something like this
Got error: connect ECONNREFUSED 127.0.0.1:1864
This is how I do it
# Development configuration
version: "3.7"
networks:
api:
services:
bot:
container_name: registrator.bot
restart: on-failure
image: registrator.bot
build:
context: .
dockerfile: docker/nodejs/dev/Dockerfile
volumes:
- .:/app
networks:
- api
ports:
- 3978:3978
expose:
- 3978
FROM node:alpine
RUN mkdir -p /app
WORKDIR app/
RUN npm install -g npm yo generator-botbuilder
COPY . .
COPY packag*.json ./
RUN npm install
EXPOSE 3978
CMD ["npm", "start-debug"]
# Development configuration
version: "3.7"
networks:
api:
services:
bot:
container_name: registrator.bot
restart: on-failure
image: registrator.bot
build:
context: .
dockerfile: docker/nodejs/dev/Dockerfile
volumes:
- .:/app
networks:
- api
ports:
- 3978:3978
expose:
- 3978
ngrok:
image: registrator.ngrok
build:
context: docker/ngrok/dev
dockerfile: Dockerfile
ports:
- "4000:4040"
command:
- ngrok http 3978
depends_on:
- bot
networks:
- api
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question