skip to Main Content

Laravel – Can't connect to ClickHouse container

There is a running ClickHouse container clickhouse-server: image: yandex/clickhouse-server container_name: clickhouse-server ports: - '8123:8123' - '9000:9000' volumes: - ./db:/var/lib/clickhouse ulimits: nofile: 262144 There are configured connection parameters in .env CLICKHOUSE_HOST=clickhouse-server CLICKHOUSE_PORT=8123 CLICKHOUSE_DATABASE=memorial_analitucs CLICKHOUSE_USERNAME=default CLICKHOUSE_PASSWORD= CLICKHOUSE_TIMEOUT_CONNECT=5 CLICKHOUSE_TIMEOUT_QUERY=5 When performing the migration,…

VIEW QUESTION

Can not connect with click-house running inside docker with nodejs

I have downloaded this click-house docker image https://hub.docker.com/r/clickhouse/clickhouse-server/ I started click-house server with the following command docker run --network=host --name some-clickhouse-server --ulimit nofile=262144:262144 clickhouse/clickhouse-server I connected with clickhouse with the following command docker exec -it some-clickhouse-server clickhouse-client Output of the…

VIEW QUESTION

Docker – cannot mount existing data to persistent volume in kubernetes

I am using clickhouse database and data are stored at /media/user/data/clickhouse and /media/user/data/clickhouse-server. When I run a docker container $ docker run --name local-clickhouse --ulimit nofile=262144:262144 -u 1000:1000 -p 8123:8123 -p 9000:9000 -p 9009:9009 -v /media/user/data/clickhouse:/var/lib/clickhouse -v /media/user/data/clickhouse-server:/var/log/clickhouse-server -dit clickhouse/clickhouse-server…

VIEW QUESTION

Can clickhouse-client be redirected to a docker volume mount path?

I'm running clickhouse on a docker container and mounted volumes on an external harddrive: sudo docker run --name clickhouse-server --ulimit nofile=262144:262144 -p 18123:8123 -p 19000:9000 -p 19009:9009 -v ./clickhouse:/var/lib/clickhouse -v ./clickhouse-server:/var/log/clickhouse-server -dit clickhouse/clickhouse-server I installed clickhouse-client using apt and this…

VIEW QUESTION
Back To Top
Search