Sign inSign up

andreidrang/psycopg-superset

By andreidrang

•Updated 8 months ago

Superset with Psycopg2 library

Image
Data science
Databases & storage
0

859

andreidrang/psycopg-superset repository overview

⁠Superset PostgreSQL Docker Image

⁠Overview

Custom Apache Superset Docker image with PostgreSQL support and Redis caching configuration. Built on top of the official apache/superset:5.0.0 base image.

⁠Features

  • ✅ PostgreSQL database support via psycopg2-binary
  • ✅ Redis caching configuration with environment variables
  • ✅ Custom Superset configuration
  • ✅ Security-focused (non-root container execution)
  • ✅ Environment variable-based configuration

⁠Quick Start

⁠Basic PostgreSQL Setup
docker run -d \
  -p 8088:8088 \
  -e SUPERSET_DATABASE_URI="postgresql://user:password@host:5432/database" \
  --name superset \
  andreidrang/psycopg-superset:5.0.2
⁠With Redis Cache
docker run -d \
  -p 8088:8088 \
  -e SUPERSET_DATABASE_URI="postgresql://user:password@host:5432/database" \
  -e CACHE_REDIS_HOST="redis-host" \
  -e CACHE_REDIS_PORT="6379" \
  -e CACHE_REDIS_DB="0" \
  --name superset \
  andreidrang/psycopg-superset:5.0.2

⁠Configuration

⁠Database Connection (choose one)
  • SUPERSET_DATABASE_URI
  • SUPERSET__SQLALCHEMY_DATABASE_URI
  • DATABASE_URL
⁠Redis Cache (optional)
  • CACHE_REDIS_HOST - Redis hostname
  • CACHE_REDIS_PORT - Redis port (default: 6379)
  • CACHE_REDIS_DB - Redis database (default: 0)
  • CACHE_REDIS_USER - Redis username (optional)
  • CACHE_REDIS_PASSWORD - Redis password (optional)
⁠Default Values
  • If no database URI is provided, defaults to SQLite at /app/superset_home/superset.db
  • If Redis variables are not set, caching runs without Redis

⁠Tags

  • latest - Most recent stable release
  • 5.0.2 - Specific version tag

⁠Source

Built from official Apache Superset 5.0.0 with added PostgreSQL and Redis support.

Tag summary

Content type

Image

Digest

sha256:cc98e1bf1…

Size

315.4 MB

Last updated

8 months ago

docker pull andreidrang/psycopg-superset:6.0.1