mirror of
https://github.com/lalanza808/xmr.sh.git
synced 2025-05-10 14:04:58 -04:00
Add tor compose, fedora service fix
This commit is contained in:
parent
819fa55cdd
commit
a8cf12c2a6
3 changed files with 32 additions and 0 deletions
2
.env
2
.env
|
@ -5,3 +5,5 @@ TRAEFIK_ACME_EMAIL=your-email@xmr.example
|
||||||
TRAEFIK_LOGLEVEL=DEBUG
|
TRAEFIK_LOGLEVEL=DEBUG
|
||||||
|
|
||||||
MONEROD_TAG=latest
|
MONEROD_TAG=latest
|
||||||
|
|
||||||
|
THS_TAG=latest
|
||||||
|
|
26
docker-compose.tor.yml
Normal file
26
docker-compose.tor.yml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
version: "3.7"
|
||||||
|
|
||||||
|
services:
|
||||||
|
tor:
|
||||||
|
container_name: tor
|
||||||
|
image: goldy/tor-hidden-service:${THS_TAG}
|
||||||
|
links:
|
||||||
|
- monerod
|
||||||
|
environment:
|
||||||
|
MONEROD_TOR_SERVICE_HOSTS: "80:monerod:18089"
|
||||||
|
volumes:
|
||||||
|
- tor-keys:/var/lib/tor/hidden_service/
|
||||||
|
# secrets:
|
||||||
|
# - monerod
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
tor-keys:
|
||||||
|
{}
|
||||||
|
# driver: local
|
||||||
|
|
||||||
|
# secrets:
|
||||||
|
# monerod:
|
||||||
|
# file: ./private_key_monerod_v3
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
name: ${NETWORK:-xmrsh_default}
|
|
@ -152,6 +152,10 @@ install_docker() { (
|
||||||
# Docker Installer as provided in
|
# Docker Installer as provided in
|
||||||
curl -fsSL https://get.docker.com -o - | bash >>"${XMRSH_LOG_FILE}" 2>&1
|
curl -fsSL https://get.docker.com -o - | bash >>"${XMRSH_LOG_FILE}" 2>&1
|
||||||
check_return $?
|
check_return $?
|
||||||
|
# Fedora needs to start the daemon
|
||||||
|
if grep -q "fedora" /etc/os-release; then
|
||||||
|
systemctl start docker >>"${XMRSH_LOG_FILE}" 2>&1
|
||||||
|
fi
|
||||||
echo -e "${Ok}"
|
echo -e "${Ok}"
|
||||||
); }
|
); }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue