I tried to create an alias on my server to be able to run the manager.sh from anywhere but it doesn't work, it currently assumes you're running from the same directory. This now allows you to run it from anywhere by using a robust technique to get the directory of the current script and prefixing both the docker-compose.yml path and the .env path with it.
I tried to create an alias on my server to be able to run the manager.sh from anywhere but it doesn't work, it currently assumes you're running from the same directory. This now allows you to run it from anywhere by using a robust technique to get the directory of the current script and prefixing both the
docker-compose.yml
path and the.env
path with it.