Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install Docker for your distro. The example below uses the installation for Ubuntu.

    Code Block
    languagebash
    # Remove old versions
    
    sudo apt-get remove docker docker-engine docker.io containerd runc
    
    # Configure the repo
    ## Update apt index and install dependencies
    
    sudo apt-get update
    
    sudo apt-get install \
        apt-transport-https \
        ca-certificates \
        curl \
        gnupg \
        lsb-release
    
    ## Add Docker GPG key
    
    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
    
    ## Add repo
    
    echo \
      "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
      $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
    
    
    # Install Docker
    
    sudo apt-get update
    
    sudo apt-get install docker-ce docker-ce-cli containerd.io


  2. Install docker-compose for your distro.

    Code Block
    languagebash
    # Download docker-compose
    
    sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
    
    # Grant execute permission for the file
    
    sudo chmod +x /usr/local/bin/docker-compose
    
    # Add symlink
    
    sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose


  3. Clone the necessary project from our GitHub with the help of command.

    Code Block
    git clone https://github.com/basip/link.git


  4. Create the necessary volumes in advance, with help of the command:    

    Code Block
    docker volume create name

    Name changes depending on the volume name to be created. The list of required volumes (with external: true values) you can find at the end of the docker-compose.yml file.



    So, according to the example, the following commands must be done:

    Code Block
    docker volume create app-data
    docker volume create app-storage
    docker volume create system-logs
    docker volume create app-ssl-certs
    docker volume create brocker-data 


    Aura panel
    tab1
    styles{"body":{"text":{"color":"#02070e","textAlign":"left","fontWeight":"lighter","fontSize":14}},"header":{"backgroundColor":{"color":"#ffffff"}},"headline":{"alignment":{"horizontal":"start"}},"base":{"border":{"bottom":false,"left":true,"right":false,"top":false,"color":"#ffab0096","width":10,"style":"solid"},"backgroundColor":{"color":"#ffffff"},"borderRadius":{"radius":4},"boxShadow":{"shadows":[{"color":"rgba(0, 0, 0, 0.08)","x":0,"y":1,"blur":1,"spread":0},{"color":"rgba(0, 0, 0, 0.16)","x":0,"y":1,"blur":3,"spread":1}]}}}
    body

    If you are installing a version with a web proxy:

    1. Copy the env.example file and name this copy as .env.

    2. In the .env file you must enter the following data:

    • your Link server address, e.g. link.bas-ip.com for HTTPS_DOMAIN field;
    • production for HTTPS_MODE field;  

     

    These parameters are required for correct encryption certificates to work.


  5. Go to the folder of the version you want to install. For example, for the version with SIP, the command is: 

     

    Code Block
    cd link/with-sip

    If you install version without SIP, the command is: 

    Code Block
    cd link/without-sip
     


  6. Run the project.

    Code Block
    docker-compose up -d


...