Skip to content

Commit 56af894

Browse files
authored
Merge pull request #1313 from nktnet1/superset-networks
docs(template): note on networking for superset
2 parents b1502f5 + d9c83b7 commit 56af894

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

apps/dokploy/templates/superset/docker-compose.yml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,39 @@
1-
# Note: this is an UNOFFICIAL production docker image build for Superset:
1+
# This is an UNOFFICIAL production docker image build for Superset:
22
# - https://github.com/amancevice/docker-superset
3+
4+
5+
# ## SETUP INSTRUCTIONS
36
#
47
# After deploying this image, you will need to run one of the two
58
# commands below in a terminal within the superset container:
69
# $ superset-demo # Initialise database + load demo charts/datasets
710
# $ superset-init # Initialise database only
811
#
912
# You will be prompted to enter the credentials for the admin user.
13+
14+
15+
# ## NETWORK INSTRUCTIONS
16+
#
17+
# 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.
21+
#
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.
1030

1131
services:
1232
superset:
1333
image: amancevice/superset
1434
restart: always
35+
#networks:
36+
# - dokploy-network
1537
depends_on:
1638
- superset_postgres
1739
- superset_redis
@@ -44,8 +66,7 @@ services:
4466
timeout: 10s
4567
retries: 3
4668

47-
48-
superset_redis:
69+
superset_redis:
4970
image: redis
5071
restart: always
5172
volumes:
@@ -57,6 +78,9 @@ services:
5778
timeout: 10s
5879
retries: 3
5980

81+
#networks:
82+
# dokploy-network:
83+
# external: true
6084

6185
volumes:
6286
superset_postgres_data:

0 commit comments

Comments
 (0)