Name Last Update
yoho-opsmanager-common Loading commit data...
yoho-opsmanager-dao Loading commit data...
yoho-opsmanager-global Loading commit data...
yoho-opsmanager-mysql Loading commit data...
yoho-opsmanager-redis Loading commit data...
yoho-opsmanager-service Loading commit data...
yoho-opsmanager-task Loading commit data...
yoho-opsmanager-web Loading commit data...
.gitignore Loading commit data...
Dockerfile Loading commit data...
README.md Loading commit data...
changeHost.sh Loading commit data...
docker.sh Loading commit data...
function.md Loading commit data...
pom.xml Loading commit data...
supervisord.conf Loading commit data...

开发运维信息查询系统工程

dev.yohops.com

Build & RUN


# build war
 ./build

# build docker image
docker build -t yoho-ops-dev-ops .

# run in local . mapping local dir /tmp/logs to container dir /opt/tomcat/logs
# need to expose port: 8080
docker run -d  -p 8080:8080 -v  /tmp/logs:/opt/tomcat/logs yoho-ops-dev-ops:latest  

# run in aws ecs
docker tag yoho-ops-dev-ops:latest 860721417875.dkr.ecr.cn-north-1.amazonaws.com.cn/yoho:yoho-ops-dev-ops
docker push 860721417875.dkr.ecr.cn-north-1.amazonaws.com.cn/yoho:yoho-ops-dev-ops