Created
May 24, 2017 03:06
-
-
Save xywei/755aa13c1ce332f10bfcfa050cdd7f87 to your computer and use it in GitHub Desktop.
Start Gitlab
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/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