Skip to content

Instantly share code, notes, and snippets.

@leejsinclair
Last active December 31, 2021 00:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leejsinclair/ab026cfee0eb20c0dc2d to your computer and use it in GitHub Desktop.
Save leejsinclair/ab026cfee0eb20c0dc2d to your computer and use it in GitHub Desktop.
CREATING PRIVATE SENTRY ENVIRONMENT
#!/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