Automatically use the hotspot image when on aarch64.

This commit is contained in:
FireMaskterK 2021-12-01 03:31:03 +00:00
parent 95e20fa87d
commit 18d81afee4
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD
1 changed files with 4 additions and 0 deletions

View File

@ -19,4 +19,8 @@ sed -i "s/FRONTEND_HOSTNAME/$frontend/g" config/*
sed -i "s/BACKEND_HOSTNAME/$backend/g" config/*
sed -i "s/PROXY_HOSTNAME/$proxy/g" config/*
if [[ "$(uname -m)" == "aarch64" ]]; then
sed -i "s/piped:latest/piped:hotspot/g" config/*
fi
mv config/docker-compose.$reverseproxy.yml docker-compose.yml