diff --git a/.gitignore b/.gitignore index 0dc44b5..5657fae 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,9 @@ **/traefik/http_auth backup/ services.conf + traefik/custom/dynamic*.yaml +traefik/custom/custom-*.yaml samples/custom*/*.yaml config.yaml diff --git a/run-seedbox.sh b/run-seedbox.sh index df1991f..7169c1a 100755 --- a/run-seedbox.sh +++ b/run-seedbox.sh @@ -120,10 +120,10 @@ if [[ $(cat config.json | jq '[.services[] | select(.name=="flood" and .enabled= fi # Apply other arbitrary custom Traefik config files -# rm -f $f traefik/custom/dynamic-* +rm -f $f traefik/custom/custom-* for f in `find samples/custom-traefik -maxdepth 1 -mindepth 1 -type f | grep -E "\.yml$|\.yaml$" | sort`; do echo "[$0] Applying custom Traefik config $f..." - cp $f traefik/custom/dynamic-$(basename $f) + cp $f traefik/custom/custom-$(basename $f) done # Detect Synology devices for Netdata compatibility