mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-28 12:22:29 +02:00
parent
5ea9f8c1d0
commit
d211d8c467
@ -684,18 +684,18 @@ cd - && cd ..
|
|||||||
|
|
||||||
|
|
||||||
# Build tor
|
# Build tor
|
||||||
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Tor/0.4.2.7/Tor/0.4.2.7/linuxamd64.Dockerfile
|
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Tor/0.4.1.5/Tor/0.4.1.5/linuxamd64.Dockerfile
|
||||||
DOCKERFILE="Tor/0.4.2.7/linuxamd64.Dockerfile"
|
DOCKERFILE="Tor/0.4.1.5/linuxamd64.Dockerfile"
|
||||||
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Tor/0.4.2.7/Tor/0.4.2.7/linuxarm32v7.Dockerfile
|
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Tor/0.4.1.5/Tor/0.4.1.5/linuxarm32v7.Dockerfile
|
||||||
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="Tor/0.4.2.7/linuxarm32v7.Dockerfile"
|
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="Tor/0.4.1.5/linuxarm32v7.Dockerfile"
|
||||||
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Tor/0.4.2.7/Tor/0.4.2.7/linuxarm64v8.Dockerfile
|
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Tor/0.4.1.5/Tor/0.4.1.5/linuxarm64v8.Dockerfile
|
||||||
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="Tor/0.4.2.7/linuxarm64v8.Dockerfile"
|
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="Tor/0.4.1.5/linuxarm64v8.Dockerfile"
|
||||||
echo "Building btcpayserver/tor:0.4.2.7"
|
echo "Building btcpayserver/tor:0.4.1.5"
|
||||||
git clone https://github.com/btcpayserver/dockerfile-deps tor
|
git clone https://github.com/btcpayserver/dockerfile-deps tor
|
||||||
cd tor
|
cd tor
|
||||||
git checkout Tor/0.4.2.7
|
git checkout Tor/0.4.1.5
|
||||||
cd "$(dirname $DOCKERFILE)"
|
cd "$(dirname $DOCKERFILE)"
|
||||||
docker build -f "$DOCKERFILE" -t "btcpayserver/tor:0.4.2.7" .
|
docker build -f "$DOCKERFILE" -t "btcpayserver/tor:0.4.1.5" .
|
||||||
cd - && cd ..
|
cd - && cd ..
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ services:
|
|||||||
|
|
||||||
tor-relay:
|
tor-relay:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: btcpayserver/tor:0.4.2.7
|
image: btcpayserver/tor:0.4.1.5
|
||||||
container_name: tor-relay
|
container_name: tor-relay
|
||||||
environment:
|
environment:
|
||||||
TOR_PASSWORD: btcpayserver
|
TOR_PASSWORD: btcpayserver
|
||||||
|
@ -69,7 +69,7 @@ services:
|
|||||||
|
|
||||||
tor:
|
tor:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: btcpayserver/tor:0.4.2.7
|
image: btcpayserver/tor:0.4.1.5
|
||||||
container_name: tor
|
container_name: tor
|
||||||
environment:
|
environment:
|
||||||
TOR_PASSWORD: btcpayserver
|
TOR_PASSWORD: btcpayserver
|
||||||
|
Loading…
Reference in New Issue
Block a user