Skip to content

Instantly share code, notes, and snippets.

@stratdes

stratdes/up.sh Secret

Created December 30, 2021 16:46
Show Gist options
  • Save stratdes/dbc186fc6e833fae6395376b5f3e4f20 to your computer and use it in GitHub Desktop.
Save stratdes/dbc186fc6e833fae6395376b5f3e4f20 to your computer and use it in GitHub Desktop.
up.sh
#!/usr/bin/env bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
docker-compose -f $SCRIPT_DIR/../docker/docker-compose.yaml pull php-fpm nginx
docker-compose -f $SCRIPT_DIR/../docker/docker-compose.yaml up -d php-fpm nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment