N
N
Navka12018-12-05 14:59:05
Python
Navka1, 2018-12-05 14:59:05

VK bot: what address to enter to confirm the server?

I'm just starting to study the server part, so the question is a complete "zero".
There is a server on Ubuntu.
There is a Docker container with a python 3.6 image, Flask, Vk_api, redis, gunicorn and the application itself.
The container is running, running, the command after starting the container:

CMD ["gunicorn", "--bind", "0.0.0.0:80", "app:app"]

The question arose of what address to specify in the server settings of the VK control panel to confirm Callback requests. In docker-compose.yaml , the services settings now have ports: -"127.0.0.1:9000:80".
How now to transfer the localhost to the IP-shnik? How to allocate server IP for this case?
I will be grateful for any help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
maqstein, 2019-01-14
@Navka1

To do this, you need a domain, and for it a static ip address

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question