fix: superset template fixed versions, postgres volume mount and network instructions (#595)

* fix: superset version fixed, tweak network instructions

* chore: simplify mapbox key

* fix: volume mount

* deps: bump superset to 6.0.0
This commit is contained in:
Khiet Tam Nguyen
2026-02-16 14:10:10 +11:00
committed by GitHub
parent a19303e3bf
commit 38e417b194
3 changed files with 11 additions and 25 deletions

View File

@@ -15,23 +15,14 @@
# ## NETWORK INSTRUCTIONS # ## NETWORK INSTRUCTIONS
# #
# If you want to connect superset with other internal databases managed by # If you want to connect superset with other internal databases managed by
# Dokploy (on dokploy-network) using internal hostnames, you will need to # Dokploy using internal hostnames, you will need to connect the `superset`
# uncomment the `networks` section, both for the superset container and # container to those networks.
# at the very bottom of this docker-compose template.
# #
# Note that the `superset` service name/hostname will not be unique on the
# global `dokploy-network`. If you plan to:
#
# 1. deploy a second instance of superset on dokploy-network, and
# 2. have other containers on dokploy-network utilise the second instance's
# Superset API (https://superset.apache.org/docs/api)
#
# Please change the service name of the second instance.
services: services:
superset: superset:
image: amancevice/superset image: amancevice/superset:6.0.0
restart: always restart: unless-stopped
#networks: #networks:
# - dokploy-network # - dokploy-network
depends_on: depends_on:
@@ -52,14 +43,14 @@ services:
REDIS_HOST: superset_redis REDIS_HOST: superset_redis
superset_postgres: superset_postgres:
image: postgres image: postgres:18
restart: always restart: unless-stopped
environment: environment:
POSTGRES_USER: ${POSTGRES_USER} POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB} POSTGRES_DB: ${POSTGRES_DB}
volumes: volumes:
- superset_postgres_data:/var/lib/postgresql/data - superset_postgres_data:/var/lib/postgresql
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"] test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
interval: 30s interval: 30s
@@ -67,8 +58,8 @@ services:
retries: 3 retries: 3
superset_redis: superset_redis:
image: redis image: redis:8
restart: always restart: unless-stopped
volumes: volumes:
- superset_redis_data:/data - superset_redis_data:/data
command: redis-server --requirepass ${REDIS_PASSWORD} command: redis-server --requirepass ${REDIS_PASSWORD}
@@ -78,10 +69,6 @@ services:
timeout: 10s timeout: 10s
retries: 3 retries: 3
#networks:
# dokploy-network:
# external: true
volumes: volumes:
superset_postgres_data: superset_postgres_data:
superset_redis_data: superset_redis_data:

View File

@@ -3,7 +3,6 @@ main_domain = "${domain}"
secret_key = "${password:30}" secret_key = "${password:30}"
postgres_password = "${password:30}" postgres_password = "${password:30}"
redis_password = "${password:30}" redis_password = "${password:30}"
mapbox_api_key = ""
[[config.domains]] [[config.domains]]
serviceName = "superset" serviceName = "superset"
@@ -12,7 +11,7 @@ host = "${main_domain}"
[config.env] [config.env]
SECRET_KEY = "${secret_key}" SECRET_KEY = "${secret_key}"
MAPBOX_API_KEY = "${mapbox_api_key}" MAPBOX_API_KEY = ""
POSTGRES_DB = "superset" POSTGRES_DB = "superset"
POSTGRES_USER = "superset" POSTGRES_USER = "superset"
POSTGRES_PASSWORD = "${postgres_password}" POSTGRES_PASSWORD = "${postgres_password}"

View File

@@ -5916,7 +5916,7 @@
{ {
"id": "superset", "id": "superset",
"name": "Superset (Unofficial)", "name": "Superset (Unofficial)",
"version": "latest", "version": "6.0.0",
"description": "Data visualization and data exploration platform.", "description": "Data visualization and data exploration platform.",
"logo": "superset.svg", "logo": "superset.svg",
"links": { "links": {