Open zenbooster opened 2 years ago
Ubuntu 20.04 LTS.
On the host, port 8000 does not open, you cannot go to http://127.0.0.1:8000/lendingbot.html. It worked earlier.
zenbooster@zenpc:~/git/test/MikaLendingBot$ sudo docker-compose up -d Creating network "mikalendingbot_default" with the default driver Creating mikalendingbot_nginx_1 ... done Creating mikalendingbot_poloniex_1 ... done zenbooster@zenpc:~/git/test/MikaLendingBot$ sudo docker-compose logs -f Attaching to mikalendingbot_poloniex_1, mikalendingbot_nginx_1 poloniex_1 | rm: cannot remove '/usr/src/app/www/botlog.json': No such file or directory poloniex_1 | Requirement already satisfied: numpy in /usr/local/lib/python2.7/site-packages (from -r requirements.txt (line 1)) (1.15.1) poloniex_1 | Requirement already satisfied: pandas in /usr/local/lib/python2.7/site-packages (from -r requirements.txt (line 2)) (0.23.4) poloniex_1 | Collecting hypothesis (from -r requirements.txt (line 3)) poloniex_1 | Downloading https://files.pythonhosted.org/packages/a2/c8/de039e5fb476ed73cb4d6d98a1fee68b0b26f13729cfcccfc32647476ab2/hypothesis-4.57.1.tar.gz (233kB) nginx_1 | WARNING: /etc/nginx/dhparam/dhparam.pem was not found. A pre-generated dhparam.pem will be used for now while a new one nginx_1 | is being generated in the background. Once the new dhparam.pem is in place, nginx will be reloaded. nginx_1 | forego | starting dockergen.1 on port 5000 nginx_1 | forego | starting nginx.1 on port 5100 nginx_1 | dockergen.1 | 2021/11/23 13:22:47 Generated '/etc/nginx/conf.d/default.conf' from 1 containers nginx_1 | dockergen.1 | 2021/11/23 13:22:47 Running 'nginx -s reload' nginx_1 | dockergen.1 | 2021/11/23 13:22:47 Watching docker events nginx_1 | dockergen.1 | 2021/11/23 13:22:48 Generated '/etc/nginx/conf.d/default.conf' from 2 containers nginx_1 | dockergen.1 | 2021/11/23 13:22:48 Running 'nginx -s reload' nginx_1 | dockergen.1 | 2021/11/23 13:22:48 Received event start for container 62703122c706 nginx_1 | dockergen.1 | 2021/11/23 13:22:48 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload' poloniex_1 | Collecting requests (from -r requirements.txt (line 4)) poloniex_1 | Downloading https://files.pythonhosted.org/packages/92/96/144f70b972a9c0eabbd4391ef93ccd49d0f2747f4f6a2a2738e99e5adc65/requests-2.26.0-py2.py3-none-any.whl (62kB) poloniex_1 | Requirement already satisfied: pytz in /usr/local/lib/python2.7/site-packages (from -r requirements.txt (line 5)) (2018.5) poloniex_1 | Requirement already satisfied: python-dateutil>=2.5.0 in /usr/local/lib/python2.7/site-packages (from pandas->-r requirements.txt (line 2)) (2.7.3) poloniex_1 | Collecting attrs>=19.2.0 (from hypothesis->-r requirements.txt (line 3)) poloniex_1 | Downloading https://files.pythonhosted.org/packages/20/a9/ba6f1cd1a1517ff022b35acd6a7e4246371dfab08b8e42b829b6d07913cc/attrs-21.2.0-py2.py3-none-any.whl (53kB) poloniex_1 | Collecting sortedcontainers<3.0.0,>=2.1.0 (from hypothesis->-r requirements.txt (line 3)) poloniex_1 | Downloading https://files.pythonhosted.org/packages/32/46/9cb0e58b2deb7f82b84065f37f3bffeb12413f947f9388e4cac22c4621ce/sortedcontainers-2.4.0-py2.py3-none-any.whl poloniex_1 | Collecting enum34 (from hypothesis->-r requirements.txt (line 3)) poloniex_1 | Downloading https://files.pythonhosted.org/packages/6f/2c/a9386903ece2ea85e9807e0e062174dc26fdce8b05f216d00491be29fad5/enum34-1.1.10-py2-none-any.whl poloniex_1 | Collecting urllib3<1.27,>=1.21.1 (from requests->-r requirements.txt (line 4)) poloniex_1 | Downloading https://files.pythonhosted.org/packages/af/f4/524415c0744552cce7d8bf3669af78e8a069514405ea4fcbd0cc44733744/urllib3-1.26.7-py2.py3-none-any.whl (138kB) poloniex_1 | Collecting idna<3,>=2.5; python_version < "3" (from requests->-r requirements.txt (line 4)) poloniex_1 | Downloading https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl (58kB) poloniex_1 | Collecting certifi>=2017.4.17 (from requests->-r requirements.txt (line 4)) poloniex_1 | Downloading https://files.pythonhosted.org/packages/37/45/946c02767aabb873146011e665728b680884cd8fe70dde973c640e45b775/certifi-2021.10.8-py2.py3-none-any.whl (149kB) poloniex_1 | Collecting chardet<5,>=3.0.2; python_version < "3" (from requests->-r requirements.txt (line 4)) poloniex_1 | Downloading https://files.pythonhosted.org/packages/19/c7/fa589626997dd07bd87d9269342ccb74b1720384a4d739a1872bd84fbe68/chardet-4.0.0-py2.py3-none-any.whl (178kB) poloniex_1 | Requirement already satisfied: six>=1.5 in /usr/local/lib/python2.7/site-packages (from python-dateutil>=2.5.0->pandas->-r requirements.txt (line 2)) (1.11.0) poloniex_1 | Building wheels for collected packages: hypothesis poloniex_1 | Running setup.py bdist_wheel for hypothesis: started poloniex_1 | Running setup.py bdist_wheel for hypothesis: finished with status 'done' poloniex_1 | Stored in directory: /root/.cache/pip/wheels/55/45/60/fe3f7b7d6fcdda1a8efaf0eb526d759dfa79a81ea785f0751b poloniex_1 | Successfully built hypothesis poloniex_1 | Installing collected packages: attrs, sortedcontainers, enum34, hypothesis, urllib3, idna, certifi, chardet, requests poloniex_1 | Successfully installed attrs-21.2.0 certifi-2021.10.8 chardet-4.0.0 enum34-1.1.10 hypothesis-4.57.1 idna-2.10 requests-2.26.0 sortedcontainers-2.4.0 urllib3-1.26.7 poloniex_1 | You are using pip version 18.0, however version 20.3.4 is available. poloniex_1 | You should consider upgrading via the 'pip install --upgrade pip' command. poloniex_1 | Starting WebServer at 0.0.0.0 on port 8000 with template www poloniex_1 | Welcome to Lending Bot on POLONIEX poloniex_1 | Started WebServer, lendingbot status available at http://127.0.0.1:8000/lendingbot.html, http://172.19.0.3:8000/lendingbot.html
zenbooster@zenpc:~/git/test/MikaLendingBot$ sudo netstat -ntlp | grep 8000 zenbooster@zenpc:~/git/test/MikaLendingBot$
Ubuntu 20.04 LTS.
On the host, port 8000 does not open, you cannot go to http://127.0.0.1:8000/lendingbot.html. It worked earlier.