diff --git a/linux/shell/docker/gitea.sh b/linux/shell/docker/gitea.sh index c03efb2..06cecf0 100755 --- a/linux/shell/docker/gitea.sh +++ b/linux/shell/docker/gitea.sh @@ -3,7 +3,8 @@ docker pull gitea/gitea docker stop gitea docker rm gitea -docker run -d --name=gitea -m 400m \ +docker run -d --name=gitea -m 500m \ -p 222:22 -p 3003:3000 \ --link mysql:mysql \ + --link redis:redis \ -v /dockerData/gitea:/data gitea/gitea diff --git a/linux/shell/docker/redis.sh b/linux/shell/docker/redis.sh new file mode 100755 index 0000000..b74c122 --- /dev/null +++ b/linux/shell/docker/redis.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# docker pull redis +docker stop redis +docker rm redis +docker run -itd --name redis -m 400m -p 6379:6379 redis