qryn
qryn copied to clipboard
Don't start in container
Very simple demo for try qryn:
docker container with CH already running in docker network.
I added container with image: qxip/qryn:latest
and only one ENV like this
CLICKHOUSE_SERVER=http://${CH_USER}:${CH_PASSWORD}@clickhouse-server:8123
Container stop immediately if error:
{"level":50,"time":1661856775378,"pid":19,"hostname":"cloki","name":"qryn","err":"getaddrinfo ENOTFOUND http\nError: getaddrinfo ENOTFOUND http\n at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26)","msg":"Error starting qryn"}
Hello @1xtr
Have you tried using our actual ENV variables to configure the process?
CLICKHOUSE_SERVER="clickhouse-server" \
CLICKHOUSE_AUTH="${CH_USER}:${CH_PASSWORD}" \
CLICKHOUSE_DB="qryn" \
qryn
And if you need to change ports, protocols, etc:
CLICKHOUSE_SERVER="clickhouse-server" \
CLICKHOUSE_PORT=9443 \
CLICKHOUSE_PROTO="https" \
CLICKHOUSE_AUTH="${CH_USER}:${CH_PASSWORD}" \
CLICKHOUSE_DB="qryn" \
qryn
Please refer to this example or the full-blown compose w/ all settings on our qryn-oss-demo repo