mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-28 04:12:30 +02:00
Move pull-image outside of the nginx block
This commit is contained in:
parent
27482193ae
commit
86de25f142
3
build.sh
3
build.sh
@ -29,9 +29,10 @@ docker run -v "$(pwd)/Generated:/app/Generated" \
|
|||||||
|
|
||||||
if [ "$BTCPAYGEN_REVERSEPROXY" == "nginx" ]; then
|
if [ "$BTCPAYGEN_REVERSEPROXY" == "nginx" ]; then
|
||||||
cp Production/nginx.tmpl Generated/nginx.tmpl
|
cp Production/nginx.tmpl Generated/nginx.tmpl
|
||||||
chmod +x Generated/pull-images.sh
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
[[ -f "Generated/pull-images.sh" ]] && chmod +x Generated/pull-images.sh
|
||||||
|
|
||||||
if [ "$BTCPAYGEN_REVERSEPROXY" == "traefik" ]; then
|
if [ "$BTCPAYGEN_REVERSEPROXY" == "traefik" ]; then
|
||||||
cp Traefik/traefik.toml Generated/traefik.toml
|
cp Traefik/traefik.toml Generated/traefik.toml
|
||||||
:> Generated/acme.json
|
:> Generated/acme.json
|
||||||
|
Loading…
Reference in New Issue
Block a user