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
3122services :
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-
8572volumes :
8673 superset_postgres_data :
8774 superset_redis_data :
0 commit comments