Deployment To the deploy/update the stack, use this command: DOCKER_DIR=<dir> ./deploy.sh <dir> is the location of docker-compose-main.yml file. This command should be used in the same folder. Alternatively, use a bash alias.