Created
March 28, 2024 17:16
-
-
Save xram64/cfb7158ed0f81bd40650b92bfebb1e00 to your computer and use it in GitHub Desktop.
Start the Docker containers for CustomCAH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Start the Docker containers for CustomCAH. | |
| # xram | 3/28/24 | |
| HELP_TEXT='Starts Docker containers for CustomCAH.\n' | |
| HELP_TEXT+='Options:\n' | |
| HELP_TEXT+=' [-h] Show help text.\n' | |
| while getopts 'h' opt; do | |
| case $opt in | |
| h) echo -e "$HELP_TEXT"; exit 2 ;; | |
| esac | |
| done | |
| # Move into folder with Dockerfile to enable `compose` commands. | |
| cd /srv/cah/CustomCAHDocker | |
| # Start related containers and networks. | |
| docker compose up -d --build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment