Answer the question
In order to leave comments, you need to log in
POST request stuck?
I just recently started learning docker and everything related to it. There is a ready-made project in python, there is a dev server for which there is a login / password and a token to make API requests. I deploy it locally in containers so that I can test the code before pushing, postgres and clickhouse databases.
Task: upload a post request to the postgres file.xlsx locally. I try to make a request in postman, passing the login and password to auth and passing the token in the parameters - the process just hangs, no errors, nothing ... I tried with a Python request - the same situation, tell me, what could be the problem?
Below docker-compose settings:
clickhouse:
restart: always
image: yandex/clickhouse-server:20.3.8.53
ulimits:
nofile:
soft: 262144
hard: 262144
ports:
- 9000:9000
volumes:
- clickhouse_volume:/var/lib/clickhouse
postgres:
restart: always
image: postgres:11.2-alpine
shm_size: '512mb'
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
volumes:
- postgresdata:/var/lib/postgresql/data
CLICKHOUSE_HOST=http://localhost:8123
CLICKHOUSE_OLD_HOST=localhost
CLICKHOUSE_DATABASE=default
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