Initial commit: Lakehouse configuration files

This commit is contained in:
Lakehouse Admin
2026-05-19 13:03:34 +02:00
commit 26606fb05c
14 changed files with 844 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
FROM apache/superset:latest
RUN pip install psycopg2-binary
+25
View File
@@ -0,0 +1,25 @@
services:
superset:
build: .
container_name: superset
restart: unless-stopped
ports:
- "8088:8088"
environment:
- SUPERSET_SECRET_KEY=your-secret-key-here
- SUPERSET_LOAD_EXAMPLES=no
volumes:
- ./superset_config.py:/app/pythonpath/superset_config.py
- superset_home:/app/superset_home
depends_on:
- redis
redis:
image: redis:7
container_name: superset_redis
restart: unless-stopped
ports:
- "6379:6379"
volumes:
superset_home:
+39
View File
@@ -0,0 +1,39 @@
import os
# Secret key for session signing
SECRET_KEY = os.environ.get('SUPERSET_SECRET_KEY', 'your-secret-key-here')
# Database configuration - use SQLite to avoid psycopg2 issues
SQLALCHEMY_DATABASE_URI = 'sqlite:////app/superset_home/superset.db'
# Redis cache configuration
CACHE_CONFIG = {
'CACHE_TYPE': 'redis',
'CACHE_REDIS_URL': 'redis://redis:6379/0',
'CACHE_DEFAULT_TIMEOUT': 300
}
# Enable CSRF protection
ENABLE_PROXY_FIX = True
# Feature flags
FEATURE_FLAGS = {
'ENABLE_TEMPLATE_PROCESSING': True,
'ALERT_REPORTS': True,
}
# Row limit
ROW_LIMIT = 50000
# Viz types
VIZ_TYPE_DICT = {
'table': {},
'dist_bar': {},
'line': {},
'area': {},
'pie': {},
'number': {},
}
# Timezone
TIMEZONE = 'Europe/Amsterdam'