Small .md optimations

This commit is contained in:
Kevin Veen-Birkenbach 2025-03-14 14:46:52 +01:00
parent 892403cf8c
commit ce82a61018
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
3 changed files with 19 additions and 19 deletions

View File

@ -1,4 +1,4 @@
# License Agreement
# License Agreement - CyMaIS NonCommercial License (CNCL)
## Definitions
- **"Software":** Refers to *"[CyMaIS - Cyber Master Infrastructure Solution](https://cymais.cloud/)"* and its associated source code.

View File

@ -4,7 +4,7 @@ This Ansible role provides the necessary tasks, files, templates, and variables
---
## 📌 Overview 🔍
## 📌 Overview
- **Database Variables**
Defined in [./vars/database.yml](./vars/database.yml), these variables include:

View File

@ -1,6 +1,6 @@
## Administration 📚
# Administration
### Full Reset 🚫➡️✅
## Full Reset 🚫➡️✅
The following environment variables need to be defined for successful operation:
@ -14,9 +14,9 @@ rm -rv /mnt/hdd/data/docker/volumes/friendica_data
docker volume rm friendica_data
```
### Reset Database 🗄️
## Reset Database 🗄️
#### Manual Method:
## Manual Method:
1. Connect to the MariaDB instance:
```bash
docker exec -it central-mariadb mariadb -u root -p
@ -28,63 +28,63 @@ docker volume rm friendica_data
exit;
```
#### Automatic Method:
## Automatic Method:
```bash
DB_ROOT_PASSWORD="your_root_password"
docker exec -i central-mariadb mariadb -u root -p"${DB_ROOT_PASSWORD}" -e "DROP DATABASE IF EXISTS friendica; CREATE DATABASE friendica;"
```
### Enter the Application Container 🔍
## Enter the Application Container 🔍
To access the application container:
```bash
docker compose exec -it application sh
```
### Debugging Tools 🛠️
## Debugging Tools 🛠️
#### Check Environment Variables
## Check Environment Variables
```bash
docker compose exec -it application printenv
```
#### Inspect Volume Data
## Inspect Volume Data
```bash
ls -la /var/lib/docker/volumes/friendica_data/_data/
```
### Autoinstall 🌟
## Autoinstall 🌟
Run the following command to autoinstall Friendica:
```bash
docker compose exec --user www-data -it application bin/console autoinstall
```
### Reinitialization 🔄
## Reinitialization 🔄
#### Docker Only:
## Docker Only:
```bash
docker-compose up -d --force-recreate
```
#### Full Reinitialization:
## Full Reinitialization:
```bash
docker-compose up -d --force-recreate && sleep 2; docker compose exec --user www-data -it application bin/console autoinstall;
```
### Configuration Information
## Configuration Information
#### General Configuration:
## General Configuration:
```bash
cat /var/lib/docker/volumes/friendica_data/_data/config/local.config.php
```
#### Email Configuration:
## Email Configuration:
```bash
docker compose exec -it application cat /etc/msmtprc
```
### Email Debugging ✉️
## Email Debugging ✉️
To send a test email:
```bash