Superset for DDP: docker image build and container startup
sh build.sh
docker compose up
sh start-superset.sh
Filter clause is
coid =('{{current_blob()}}'::json->>'coid')::integer
Apply this filter to the roles specified in the filter definition. We will create a "Community Organizer" role for SNEHA
The base image for Superset 3 is
apache/superset:3.1.0rc3
for x86apache/superset:3.1.0-py310-arm
for ARMThe Dockerfile
may need to be edited for the architecture you choose
Superset will serve static assets at https://<superset_url>/static/path/to/file
if the file
is available at /app/superset/static/path/to/file
within the Docker container.
Inside gensuperset there are two folders a. make-t4d b. make-client
The make-t4d contains the the script to make dockerfile, build.sh and push.sh script.
This Dockerfile pull the base apache/supserst:
command: sh generate-make-t4d.sh "apache/superset:
Here the generate script will generate a full fleged superset folder that is customised specifically to the client.
The dockerfile uses the base image created and pushed to docker hub in the above step.
The build.sh script creates a new image that will remain on the system, and will be used by docker-compose.yml file to run the container.
command: sh generate-make-client.sh
For detail documentation on how we are customizing superset for Dalgo-> read Link_to_the_documentation