Skip to content

Instantly share code, notes, and snippets.

@xram64
Created March 28, 2024 17:16
Show Gist options
  • Select an option

  • Save xram64/cfb7158ed0f81bd40650b92bfebb1e00 to your computer and use it in GitHub Desktop.

Select an option

Save xram64/cfb7158ed0f81bd40650b92bfebb1e00 to your computer and use it in GitHub Desktop.
Start the Docker containers for CustomCAH
#!/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