mirror of
https://github.com/lalanza808/xmr.sh.git
synced 2025-05-10 16:45:00 -04:00
explorer PathPrefix, color reset
This commit is contained in:
parent
32104f3d4a
commit
9b30144709
3 changed files with 8 additions and 6 deletions
2
.env
2
.env
|
@ -15,5 +15,5 @@ MONEROD_accessControlAllowOriginList=*
|
|||
TOR_TAG=0.4.7.7
|
||||
TOR_HTTP_PORT=80
|
||||
|
||||
EXPLORER_TAG=latest
|
||||
EXPLORER_TAG=v0.17
|
||||
EXPLORER_PORT=8081
|
||||
|
|
|
@ -46,17 +46,19 @@ x-tor-service: &tor-service
|
|||
|
||||
x-explorer-service: &explorer-service
|
||||
explorer:
|
||||
image: sethsimmons/xmrblocks:latest
|
||||
image: vdo1138/xmrblocks:${EXPLORER_TAG}
|
||||
container_name: explorer
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- monerod-data:/home/monero/.bitmonero
|
||||
ports:
|
||||
- ${EXPLORER_PORT}
|
||||
depends_on:
|
||||
- monerod
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.explorer.rule=(PathPrefixStrip(`/explorer`) )" #!nole
|
||||
# - "traefik.http.routers.explorer.rule=(Host(`${DOMAIN}`) && PathPrefixStrip(`/explorer`) )" #!le
|
||||
- "traefik.http.routers.explorer.rule=(PathPrefix(`/explorer`) )" #!nole
|
||||
# - "traefik.http.routers.explorer.rule=(Host(`${DOMAIN}`) && PathPrefix(`/explorer`) )" #!le
|
||||
# - "traefik.http.routers.explorer.tls.certresolver=le" #!le
|
||||
- "traefik.http.middlewares.stripprefix.stripprefix.prefixes=/explorer"
|
||||
- "traefik.http.routers.explorer.middlewares=stripprefix"
|
||||
|
|
|
@ -290,7 +290,7 @@ check_return() {
|
|||
|
||||
completed() {
|
||||
echo -e "${OkBullet}Deployment complete.${Off}"
|
||||
PUBLIC_IP=$(curl -s ifconfig.co 2>>"${XMRSH_LOG_FILE}")
|
||||
PUBLIC_IP=$(curl -4 -s ifconfig.co 2>>"${XMRSH_LOG_FILE}")
|
||||
if [ -n "$TLS_DOMAIN" ]; then
|
||||
HOST="${TLS_DOMAIN}"
|
||||
else
|
||||
|
@ -311,7 +311,7 @@ completed() {
|
|||
if [ "$ENABLE_TOR" = true ]; then
|
||||
echo -e " ${Red}│${Stat} Onion Service: ${StatInfo}$ONION"
|
||||
fi
|
||||
echo -e " ${Red}│"
|
||||
echo -e " ${Red}│${Off}"
|
||||
echo
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue