Skip to content

Instantly share code, notes, and snippets.

@xywei
Created May 24, 2017 03:06
Show Gist options
  • Save xywei/755aa13c1ce332f10bfcfa050cdd7f87 to your computer and use it in GitHub Desktop.
Save xywei/755aa13c1ce332f10bfcfa050cdd7f87 to your computer and use it in GitHub Desktop.
Start Gitlab
#!/bin/sh
# Start the Gitlab docker image using docker-compose file here.
# This is a useful one-liner which will give you the full directory name of
# the script no matter where it is being called from.
GDATA_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$GDATA_DIR"/gitlab/
docker-compose up -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment