Giter Club home page Giter Club logo

docker-redash's Introduction

docker-redash

基于alpine linux的re:dash v3.0.0

初始化

# 初始化数据
docker-compose run --rm server create_db

# 启动
docker-compose up
# 如果失败,请先替换docker-compose.yml
原始 build: .
替换 image: registry.cn-hangzhou.aliyuncs.com/wangdong/redash

筛选

字段 说明
::filter 单选框筛选
::multiFilter 多选框筛选
::keywordFilter 关键字模糊筛选
::betweenFilter 字段范围筛选

使用方法

SELECT count(1) AS `人数::betweenFilter` FROM users

docker-redash's People

Contributors

repertory avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-redash's Issues

国际化

如果我不用docker方式,我只使用你的redash-3.0.0.tar.gz,那么会支持国际化么?谢谢

初始化的时候报错,有两个错误。

第一个:
(35/64) Installing pcre (8.41-r0)
(36/64) Installing git (2.13.7-r2)
ERROR: Failed to create usr/libexec/git-core/git-fmt-merge-msg: No error information
ERROR: git-2.13.7-r2: BAD signature
(37/64) Installing libffi (3.2.1-r3)

第二个:

(64/64) Installing tzdata (2019a-r0)
Executing busybox-1.26.2-r11.trigger
Executing ca-certificates-20161130-r3.trigger
1 error; 553 MiB in 76 packages
ERROR: Service 'server' failed to build: The command '/bin/sh -c apk --no-cache add bash build-base g++ make autoconf python-dev py2-pip tzdata nodejs nodejs-npm git pwgen mariadb-dev postgresql-dev libffi-dev linux-headers musl-dev libressl-dev cyrus-sasl-dev libpq && yes | cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime' returned a non-zero code: 1

执行到26/28步时报错:

Step 26/28 : RUN node -v && npm -v &&     npm config set registry https://registry.npm.taobao.org &&     echo 'sass_binary_site=https://npm.taobao.org/mirrors/node-sass' >> ~/.npmrc &&     make &&     cp -r ./client/app/assets/fonts/roboto ./client/dist/fonts/ &&     rm -rf node_modules && npm cache clear
 ---> Running in a6807f4a7670
v6.10.3
3.10.10
if [ -d "./client/app" ]; then npm install; fi
npm WARN deprecated [email protected]: This is not needed anymore. Use `require('os').homedir()` instead.

[18256] Failed to execute script docker-compose
Traceback (most recent call last):
  File "http\client.py", line 546, in _get_chunk_left
  File "http\client.py", line 513, in _read_next_chunk_size
ValueError: invalid literal for int() with base 16: b''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "http\client.py", line 578, in _readinto_chunked
  File "http\client.py", line 548, in _get_chunk_left
http.client.IncompleteRead: IncompleteRead(0 bytes read)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "site-packages\urllib3\response.py", line 362, in _error_catcher
  File "site-packages\urllib3\response.py", line 444, in read
  File "http\client.py", line 449, in read
  File "http\client.py", line 483, in readinto
  File "http\client.py", line 594, in _readinto_chunked
http.client.IncompleteRead: IncompleteRead(0 bytes read)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "docker-compose", line 6, in <module>
  File "compose\cli\main.py", line 71, in main
  File "compose\cli\main.py", line 127, in perform_command
  File "compose\cli\main.py", line 878, in run
  File "compose\cli\main.py", line 1333, in run_one_off_container
  File "compose\service.py", line 324, in create_container
  File "compose\service.py", line 360, in ensure_image_exists
  File "compose\service.py", line 1088, in build
  File "compose\progress_stream.py", line 25, in stream_output
  File "compose\utils.py", line 61, in split_buffer
  File "compose\utils.py", line 37, in stream_as_text
  File "site-packages\docker\api\client.py", line 345, in _stream_helper
  File "site-packages\urllib3\response.py", line 461, in read
  File "contextlib.py", line 99, in __exit__
  File "site-packages\urllib3\response.py", line 380, in _error_catcher
urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes read))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.