From 4ab658579212d0a86a7e2ff8ae896617f318b678 Mon Sep 17 00:00:00 2001 From: eleonore12345 Date: Mon, 29 Jul 2024 13:39:13 +0200 Subject: [PATCH] avec description --- Specifications.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/Specifications.md b/Specifications.md index d5e8c7b..22af333 100644 --- a/Specifications.md +++ b/Specifications.md @@ -6,28 +6,29 @@ Shlagernetes is an orchestration tool allowing services to be stored on second-h Shlagernetes works with an nginx reverse proxy, wireguard VPN, letsencrypt ssl certification and Git versioning. Shl8s works with the principle of Infrastructure As Code. -On every server, there will be an instance of the Shl8s deployer. This C++ deployer receives ligth ansible instructions from the system administrator. +On every server, there will be an instance of the Shl8s deployer. This C++ deployer behaves according to the instructions passed by the system administrator. It then procedes to execute the right functions for the service. The deployer will call bash scripts specific to the service, as well as functions from libraries specific to setting the nginx configuration, the vpn, ssl certification, etc. # Description main.cpp -- reads the ansible instructions +- reads the instructions - determines if the service is on the server +if it is: +- creates directories (secret, data, http) if necessary - calls the bash scripts specific to the service if they exist (deploy_as) - calls the right deployment functions according to the instructions, from the deployment libraries - calls the DNS service ? +- user creation ? +- environment variables creation ? -Libraries : -- nginx configuration library +Deployment libraries : +- nginx configuration preparation deployment reload -- wireguard configuration library -- +- wireguard +- encryption +- docker - - - -# Functional requirements