Code Monkey home page Code Monkey logo

deployymldemo's Introduction

yml部署模板使用方法

该模板主要解决初始化服务器没有安装docker,docker-compose等工具等情况下一键部署yml文件。

使用方法:

1、git clone https://github.com/luckman666/deployYmlDemo.git

2、将已经编辑好的yml文件放在.sh同目录位置。例如例子上面我们要部署mysql.yml。原则上建议要部署什么就yml就起什么名字。

3、编辑base.config内容。

4、付权限并执行./mysql.sh。

全程不用修改.sh文件,只需要修改base.conf和放入你要部署yml即可 可以使用docker-compose -f ./*.yml ps 查看执行结果

欢迎大家关注我个人的订阅号,会定期分享学习心得,相关案例信息!

index1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.