kaido/readme.md
2023-07-19 01:12:12 +02:00

1.2 KiB

Installing the Project

cd /opt  
sudo git clone https://gitlab.com/Snogard/kaido
chmod 777 /opt/kaido

Then in your .zshrc or .bashrc

alias kaido="/opt/kaido/kaido.sh

Configuration

every configuration must be under /etc/kaido.
(to implement): if "/etc/kaido/" is a git repository, the update function will also take that into account when deciding what container to recreate

folder structure

  • /etc/kaido
    • commands (not implemented)
    • containers
      • container1
        • config
        • secrets
        • envs.sh
      • container2
      • ecc...
    • system (not implemented)
    • user (not implemented)
    • update.conf

/etc/kaido/update.conf

this file contains the definitions of what must be installed/configured/built when using the "kaido update" command

example file

install-youtubedl
configure-reverse-proxy-server
build-mongodb

regardless of the order in the file, the execution is in this order:

  1. build
  2. install
  3. configure

Container Installation:

gitlab-runner

first time:

kaido install gitlab-runner register "insert_token_here"

other times:

kaido install gitlab-runner