Skip to content

Commit 38e417b

Browse files
authored
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
1 parent a19303e commit 38e417b

File tree

3 files changed

+11
-25
lines changed

3 files changed

+11
-25
lines changed

blueprints/superset/docker-compose.yml

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,14 @@
1515
# ## NETWORK INSTRUCTIONS
1616
#
1717
# If you want to connect superset with other internal databases managed by
18-
# Dokploy (on dokploy-network) using internal hostnames, you will need to
19-
# uncomment the `networks` section, both for the superset container and
20-
# at the very bottom of this docker-compose template.
18+
# Dokploy using internal hostnames, you will need to connect the `superset`
19+
# container to those networks.
2120
#
22-
# Note that the `superset` service name/hostname will not be unique on the
23-
# global `dokploy-network`. If you plan to:
24-
#
25-
# 1. deploy a second instance of superset on dokploy-network, and
26-
# 2. have other containers on dokploy-network utilise the second instance's
27-
# Superset API (https://superset.apache.org/docs/api)
28-
#
29-
# Please change the service name of the second instance.
3021

3122
services:
3223
superset:
33-
image: amancevice/superset
34-
restart: always
24+
image: amancevice/superset:6.0.0
25+
restart: unless-stopped
3526
#networks:
3627
# - dokploy-network
3728
depends_on:
@@ -52,23 +43,23 @@ services:
5243
REDIS_HOST: superset_redis
5344

5445
superset_postgres:
55-
image: postgres
56-
restart: always
46+
image: postgres:18
47+
restart: unless-stopped
5748
environment:
5849
POSTGRES_USER: ${POSTGRES_USER}
5950
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
6051
POSTGRES_DB: ${POSTGRES_DB}
6152
volumes:
62-
- superset_postgres_data:/var/lib/postgresql/data
53+
- superset_postgres_data:/var/lib/postgresql
6354
healthcheck:
6455
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
6556
interval: 30s
6657
timeout: 10s
6758
retries: 3
6859

6960
superset_redis:
70-
image: redis
71-
restart: always
61+
image: redis:8
62+
restart: unless-stopped
7263
volumes:
7364
- superset_redis_data:/data
7465
command: redis-server --requirepass ${REDIS_PASSWORD}
@@ -78,10 +69,6 @@ services:
7869
timeout: 10s
7970
retries: 3
8071

81-
#networks:
82-
# dokploy-network:
83-
# external: true
84-
8572
volumes:
8673
superset_postgres_data:
8774
superset_redis_data:

blueprints/superset/template.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ main_domain = "${domain}"
33
secret_key = "${password:30}"
44
postgres_password = "${password:30}"
55
redis_password = "${password:30}"
6-
mapbox_api_key = ""
76

87
[[config.domains]]
98
serviceName = "superset"
@@ -12,7 +11,7 @@ host = "${main_domain}"
1211

1312
[config.env]
1413
SECRET_KEY = "${secret_key}"
15-
MAPBOX_API_KEY = "${mapbox_api_key}"
14+
MAPBOX_API_KEY = ""
1615
POSTGRES_DB = "superset"
1716
POSTGRES_USER = "superset"
1817
POSTGRES_PASSWORD = "${postgres_password}"

meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5916,7 +5916,7 @@
59165916
{
59175917
"id": "superset",
59185918
"name": "Superset (Unofficial)",
5919-
"version": "latest",
5919+
"version": "6.0.0",
59205920
"description": "Data visualization and data exploration platform.",
59215921
"logo": "superset.svg",
59225922
"links": {

0 commit comments

Comments
 (0)