Last active
December 31, 2021 00:21
-
-
Save leejsinclair/ab026cfee0eb20c0dc2d to your computer and use it in GitHub Desktop.
CREATING PRIVATE SENTRY ENVIRONMENT
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 | |
# Variables | |
IP=$(ifconfig | grep 192 | awk '/inet addr/{print substr($2,6)}') | |
echo "*" | |
echo "* CREATING PRIVATE SENTRY ENVIRONMENT" | |
echo "*" | |
echo "* Couchbase UI: http://$IP:8091" | |
mkdir -p ~/couchbase | |
docker run -d -v ~/couchbase:/opt/couchbase/var -p 8091:8091 -p 8092:8092 -p 11211:11211 -p 11210:11210 -p 18091:18091 -p 18092:18092 couchbase |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment