---version:"2.1"services:heimdall:image:linuxserver/heimdall:latestcontainer_name:heimdallnetworks:-proxy# rename this to your custom docker networkenvironment:-PUID=${PUID}-PGID=${PGID}-TZ=${TZ}volumes:-"${CFG_DIR}/heimdall:/config"ports:-82:80labels:traefik.enable:truerestart:unless-stoppednetworks:proxy:# rename this to your custom docker network.external:true
mkdir-p"${CFG_DIR}"/heimdall
docker-composeup-d
# increase the max upload size in php-local.ini file:# the command below invokes a bash shell and then echoes the line to the end of the file)echo"Sleeping 5 seconds"sleep5dockerexec-itheimdallbash-c"echo upload_max_filesize = 30M >> /config/php/php-local.ini"dockerrestartheimdall