qryn icon indicating copy to clipboard operation
qryn copied to clipboard

Don't start in container

Open 1xtr opened this issue 2 years ago • 1 comments

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"}

1xtr avatar Aug 30 '22 10:08 1xtr

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

lmangani avatar Aug 30 '22 11:08 lmangani