Giter VIP home page Giter VIP logo

deploy-devops-lite's Introduction

III DevOps Community

All-in-One Project Management and Development Platform
www.iii-devsecops.org »


English | 繁體中文

System requirements

  • Operating system
    • Ubuntu 20.04
  • Docker
    • Docker Engine 20.10+
    • Compose 2.20+
  • Hardware requirements
    • 2 vCPU
    • 8 GB RAM
    • 60 GB disk space (SSD recommended)
  • Disk IO speed
    • 300 MB/s

Before we start...

We need to prepare the following information before we start the deployment program.

  • The IP address of the server (Any IP address that can be accessed by the browser)
  • The account and password of the server (not root but must have sudo permission) (e.g. ubuntu)

Installation

Step 1. Download deployment program

  • Fetching the latest version of the deployment program

    git clone https://github.com/iii-org/deploy-devops-lite.git DevOps

Step 2. Run the deployment program (including automatic installation of Docker and other necessary system packages)

Note

This step will take up to 10 minutes to complete.

In this step, we will run the setup script.
During the execution of the script, it will prompt you to enter the environment variables.
If the question followed by a default value, you can press <Enter> to use the default value.

For the environment variables we need, the script will check and prompt you to enter them if they are not already set.
The results you enter will be set in the .env file as the environment variables used.

Make sure you are in the deployment program directory, and run the script as following command

cd DevOps
./run.sh

If any error occurs, it will show the message starting with [ERROR] and exit the script.
If the script runs successfully, it will show the message something like

[INFO] XX:XX:XX Script executed successfully

You can open the browser and visit http://<IP_ADDRESS> to check if the III DevOps Community has been deployed successfully.

Upgrade

Enter the deployment program directory and run ./run.sh upgrade to upgrade the III DevOps Community.
The upgrade script will automatically fetch the latest version of the deployment program and run it.

Uninstall

Warning

The uninstall script will remove all the docker containers, images, and volumes.
It will REMOVE ALL YOUR DATA.
Please make sure you have backed up all the data.

Run ./run.sh clean to uninstall the III DevOps Community.

Known issues

  • Docker compose related (The installation script will try to download the correct version for automatic repair)
    • version: 2.24.1
      • Message: xxx array items[0,1] must be unique
      • See: docker/compose#11371
      • Solution: Downgrade docker-compose version to 2.21 or upgrade docker-compose version to 2.24.6 or above
    • version: 2.24.4, 2.24.5
      • Message: Circular reference in xxx yaml
      • See: docker/compose#11430
      • Solution: Downgrade docker-compose version to 2.21 or upgrade docker-compose version to 2.24.6 or above

Downgrade docker compose plugin

# List all the available versions
apt list -a docker-compose-plugin

# Install the specific version
sudo apt install docker-compose-plugin=2.21.0-1~ubuntu.20.04~focal

deploy-devops-lite's People

Contributors

allen0099 avatar tryweb avatar john19968010 avatar iv9614 avatar blackmilk-github avatar lani0001 avatar

Stargazers

Nikolaus Schlemm avatar Jing-Tian Sung avatar  avatar 奇幻 avatar  avatar  avatar Till avatar Raymond avatar  avatar Shih-Yuan Lee (FourDollars) avatar

Watchers

Tiebob avatar  avatar Joseph Huang avatar

deploy-devops-lite's Issues

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.