plutonji / deploy-midware

This shell can be quickly start container of midware, like as mongodb, postgresql, rabbitmq etd.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quick start

This shell can be quickly start container of midware, like as mongodb, postgresql, rabbitmq etc.

cp cfg/dynamic.cfg.template cfg/dynamic.cfg
bash deploy-midware.sh

Setting dynamic environment variables, eg.

# workhome ------------------------------------------------------------------
export dynamic_install_user=hoke       #安装运行的用户名
export dynamic_install_userHome=/home/hoke  #用户根目录路径,即部署路径
# -----------------------------------------------------------------------

# Mongodb ----------------------------------------------------------------
export dynamic_mongodb1_ip=192.168.8.171
export dynamic_mongodb2_ip=10.10.255.202
export dynamic_mongodb3_ip=10.10.255.13

Running shell

bash deploy-midware.sh

Make package

Clone this project :

git clone https://github.com/hoke58/deploy-midware.git
cd deploy-midware

Build package :

make package

About

This shell can be quickly start container of midware, like as mongodb, postgresql, rabbitmq etd.

License:Apache License 2.0


Languages

Language:HTML 61.0%Language:Shell 31.7%Language:Dockerfile 5.1%Language:JavaScript 2.0%Language:Makefile 0.2%