Repository navigation
Replies: 1 comment 7 replies
|
There is no non-root variant of the script: mkdir -p ~/redash && cd ~/redash
curl -fsSO https://raw.githubusercontent.com/getredash/setup/master/data/compose.yaml
sed -i "s|__TAG__|25.8.0|" compose.yaml # or whatever the latest release tag is, without the v
sed -i "s|\"80:80\"|\"8080:80\"|" compose.yaml # rootless Docker cannot bind ports below 1024 by default
cat > env <<EOF
PYTHONUNBUFFERED=0
REDASH_LOG_LEVEL=INFO
REDASH_REDIS_URL=redis://redis:6379/0
REDASH_COOKIE_SECRET=$(openssl rand -hex 32)
REDASH_SECRET_KEY=$(openssl rand -hex 32)
POSTGRES_PASSWORD=$(openssl rand -hex 16)
REDASH_DATABASE_URL=postgresql://postgres:<that password>@postgres/postgres
REDASH_ENFORCE_CSRF=true
REDASH_GUNICORN_TIMEOUT=60
EOF
docker compose run --rm server create_db
docker compose up -dRedash is then on http://localhost:8080. If you really need port 80, set |
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to install Redash, but, given I'm running Docker as non-root, the installation fails. Is there an installation script available for what I'm trying to do?
All reactions