Skip to content
Snippets Groups Projects

Maintenance for customizations

Footer

The DLS Service has a custom footer to contribute to the consortium image of the eFlows Project. The design of the custom footer is part of templates/main.html. This file is being injected as a volume in docker-compose.yaml, thus overriding the existing template from the public airflow image. For testing reasons, the path has been hard-coded in the docker-compose.yaml.

Updates

Taking a hard-coded path approach means that with every update of the official airflow image, the currect main.html file has to be pulled anew from the official container.

For example:

docker exec airflow_airflow-webserver_1 find /home/airflow/ | grep main.html

Copy this file into the local repository and substitute the <footer> section with the custom DLS %footer% block. In case of a new python version in the official airflow image (and container) you will need to adjust the new path in the volume section of the docker-compose.yaml.