Hello,
Im currently working on an Bash Script for CentOS.
Code:
redCMD "~~ Enter Domain for Dashboard (e.g. monitor.domain.com):"
read monitordomainvalue
Code:
cat << EOF > docker-compose-traefik.yml
.....
- "traefik.http.routers.traefik.rule=Host(`$monitordomainvalue`)"
.....
EOF
How do i escape the ` - Im getting an Synax Error because of this
I cant simply change the ` to " or ' because then the domain dont get recognized by Traefik.
Hope you can help me.
Regards