Skip to content

Commit

Permalink
clean comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vdo committed Jun 6, 2022
1 parent ecd5f51 commit dc0932b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,9 @@ Check the [wiki](https://github.com/vdo/xmr.sh/wiki/FAQ)
# Credits

[@cirocosta](https://github.com/cirocosta) for the metrics exporter and grafana dashboard.
[@sethforprivacy](https://github.com/sethforprivacy) for providing and maintaining Monero Docker images.

[@sethforprivacy](https://github.com/sethforprivacy) for providing and maintaining Monero Docker images.

# Donate XMR 🍕

86GwmtuKWtjJBWT8Srn4oqZHbP41k2kpG79xXKKgauJzCmZkFJ5ihwjVnRodVbVjAx64JeB7VyGbF6hEdwpcPcR7Go8x2YZ


8 changes: 3 additions & 5 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ detect_curl() {

detect_docker() {
echo -ne "${OkBullet}Checking docker... ${Off}"
# docker --version >>"${XMRSH_LOG_FILE}" 2>&1 | grep -q "Docker version"
if docker --version >>"${XMRSH_LOG_FILE}" 2>&1; then
DOCKER_INSTALLED=true
echo -e "${Ok}"
Expand All @@ -128,7 +127,6 @@ detect_docker() {

detect_docker_compose() {
echo -ne "${OkBullet}Checking docker compose... ${Off}"
#docker-compose --version >>"${XMRSH_LOG_FILE}" 2>&1 | grep -q "Docker Compose version"
if docker-compose --version >>"${XMRSH_LOG_FILE}" 2>&1; then
DOCKER_COMPOSE_INSTALLED=true
echo -e "${Ok}"
Expand Down Expand Up @@ -219,7 +217,7 @@ configure_tls_domain() {
# Set domain and email address in vars
sed -i "s/DOMAIN=.*/DOMAIN=${TLS_DOMAIN}/g" .env
sed -i "s/TRAEFIK_ACME_EMAIL=.*/TRAEFIK_ACME_EMAIL=${TLS_EMAIL}/g" .env
# Enable LE settings in compose
# Enable Let's Encrypt settings in compose
sed -i '/#!le/s/# //g' docker-compose.yml
sed -i '/#!nole/s/- /# - /g' docker-compose.yml
sed -i "/#\!traefik-command/s/\*traefik-command-nole/\*traefik-command-le/g" docker-compose.yml
Expand Down Expand Up @@ -381,7 +379,7 @@ completed() {
echo
echo -e " ${Red}┌───────────────────────────────────────────────────────────────────────────[info]──"
echo -e " ${Red}${Stat} Network: ${StatInfo}${NETWORK}"
echo -e " ${Red}${Stat} URL: ${StatInfo}https://${HOST}${PORT_SUFF}"
echo -e " ${Red}${Stat} Public URL: ${StatInfo}https://${HOST}${PORT_SUFF}"

echo -e " ${Red}${Stat} Public IP: ${StatInfo}${PUBLIC_IP}"
if [ "$ENABLE_TOR" = true ]; then
Expand Down Expand Up @@ -420,7 +418,7 @@ install_xmrsh
configure_network
configure_tls_domain
configure_tls_port
# configure_pruning
configure_pruning
configure_cors

configure_tor
Expand Down

0 comments on commit dc0932b

Please sign in to comment.