change default metric port, add sqlalchemy to dockerfile

This commit is contained in:
Victor Shyba 2022-06-27 04:28:26 -03:00 committed by Victor Shyba
parent 4a3a7e318d
commit 47a5d37d7c
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ RUN chown -R $user:$user $projects_dir
USER $user USER $user
WORKDIR $projects_dir WORKDIR $projects_dir
RUN python3 -m pip install -U setuptools pip RUN python3 -m pip install -U setuptools pip sqlalchemy
RUN make install RUN make install
RUN python3 docker/set_build.py RUN python3 docker/set_build.py
RUN rm ~/.cache -rf RUN rm ~/.cache -rf

View file

@ -333,7 +333,7 @@ class SimpleMetrics:
async def test(): async def test():
metrics = SimpleMetrics('7070') metrics = SimpleMetrics('8080')
await metrics.start() await metrics.start()
crawler = Crawler("/tmp/a.db") crawler = Crawler("/tmp/a.db")
await crawler.node.start_listening() await crawler.node.start_listening()