ml4ai / ASKEM-TA1-DockerVM

Docker recipes demonstrating how to use our pipelines
3 stars 1 forks source link

new docker compose menu script #46

Open rchamplin opened 10 months ago

rchamplin commented 10 months ago

A bash script that brings up a terminal menu to allow selecting which Docker Services you want to Compose, Start or Stop.

This script has been tested and runs ok on Linux, macOS and Windows WSL. The script needs "Docker and Docker Compose Services to be running on the computer that is running the script.

The script "skema_docker-compose_menu" needs to find the "docker-compose_template.yml" file in the same directory as as the script.

The "docker-compose_template.yml" file defines the Services, Images, Ports, Environment Variables, Volumes and other settings used by "docker-compose" for this project. The script will use this "yml template" file to create "docker-compose_temp.yml" file with the "docker-compose" configuration as defined by the scripts menu.

The script is ran by running "./skema_docker-compose_menu" in the terminal window.