ASTROPORT CAN BE ACCESSIBLE THROUGH LAN - problem with Docker

This commit is contained in:
fred 2023-12-04 18:20:22 +01:00
parent d7fb8260f3
commit f5c1911773
1 changed files with 1 additions and 1 deletions

View File

@ -421,8 +421,8 @@ myIP="$(myIp)" # "127.0.0.1"
myIP=$(hostname -I | awk '{print $1}' | head -n 1)
isLAN=$(echo $myIP | grep -E "/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/")
myASTROPORT="http://${myIP}:1234" #astroport.localhost
myASTROPORT="http://astroport.localhost:1234" #astroport.localhost
myASTROPORT="http://${myIP}:1234" # BE ACCESSIBLE THROUGH LAN
myAPI="http://${myIP}:5001"
myDATA="https://data.gchange.fr"
myGCHANGE="https://www.gchange.fr"