summaryrefslogtreecommitdiffstats
path: root/dockerfiles/run.sh
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-07-26 00:24:27 -0400
committerUnknwon <joe2010xtmf@163.com>2014-07-26 00:24:27 -0400
commit8dd07c0ddd99ae626a1ec8c06f75f27fed51269f (patch)
tree261d3c9911dabc58c1ac54e4e36b3dee24d2032b /dockerfiles/run.sh
parent0a739cf9ac901f54484c34bba8322418dedb09b0 (diff)
downloadgitea-8dd07c0ddd99ae626a1ec8c06f75f27fed51269f.tar.gz
gitea-8dd07c0ddd99ae626a1ec8c06f75f27fed51269f.zip
New UI merge in progress
Diffstat (limited to 'dockerfiles/run.sh')
-rwxr-xr-xdockerfiles/run.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/dockerfiles/run.sh b/dockerfiles/run.sh
deleted file mode 100755
index cef2ebb81f..0000000000
--- a/dockerfiles/run.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-# Configs
-MYSQL_PASSWORD="kuajie8402"
-MYSQL_RUN_NAME="gogs_mysql"
-typeset -u MYSQL_ALIAS
-MYSQL_ALIAS="db"
-HOST_PORT="3000"
-
-DOCKER_BIN=$(which docker.io || which docker)
-if [ -z "$DOCKER_BIN" ] ; then
- echo "Please install docker. You can install docker by running \"wget -qO- https://get.docker.io/ | sh\"."
- exit 1
-fi
-
-## Run MySQL image with name
-$DOCKER_BIN run -d --name $MYSQL_RUN_NAME gogs/mysql
-#
-## Run gogits image and link it to the MySQL image
-$DOCKER_BIN run --link $MYSQL_RUN_NAME:$MYSQL_ALIAS -p $HOST_PORT:3000 gogs/gogits
-