avec description

This commit is contained in:
eleonore12345 2024-07-29 13:39:13 +02:00
parent 989fe9521b
commit 4ab6585792

View File

@ -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. Shlagernetes works with an nginx reverse proxy, wireguard VPN, letsencrypt ssl certification and Git versioning.
Shl8s works with the principle of Infrastructure As Code. 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. 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. 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 # Description
main.cpp main.cpp
- reads the ansible instructions - reads the instructions
- determines if the service is on the server - 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 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 right deployment functions according to the instructions, from the deployment libraries
- calls the DNS service ? - calls the DNS service ?
- user creation ?
- environment variables creation ?
Libraries : Deployment libraries :
- nginx configuration library - nginx configuration
preparation preparation
deployment deployment
reload reload
- wireguard configuration library - wireguard
- - encryption
- docker
# Functional requirements