Please sign in to comment.
Consolidate deploy_stack.sh files
Currently there are multiple deploy_stack.sh files and the user has to select the version appropriate to the target architecture so that the correct images are deployed. Further, the armhf deploy script lacks the basic auth by default scripting that is in the x86_64 version. This change adds a case/select to deploy_stack.sh that will determine the hardware architecture and select the appropriate docker-compose file. The deploy_stack.armhf.sh is also changed, rather than deleted, so that existing references are still valid. Signed-off-by: Richard Gee <firstname.lastname@example.org>
- Loading branch information...
Showing with 15 additions and 9 deletions.
|@@ -1,9 +1,3 @@|
|if ! [ -x "$(command -v docker)" ]; then|
|echo 'Unable to find docker command, please install Docker (https://www.docker.com/) and retry' >&2|
|echo "Deploying stack"|
|docker stack deploy func --compose-file docker-compose.armhf.yml|