dataset/seed/redis/README.md

80 lines
5.7 KiB
Markdown
Raw Normal View History

2022-12-24 13:01:51 +01:00
---
gitea: none
include_toc: true
---
# redis
2023-08-02 09:26:54 +02:00
## Synopsis
2022-12-24 13:01:51 +01:00
Redis, an in-memory data structure store.
2023-08-02 09:26:54 +02:00
[More informations about this software.](https://redis.io/)
2022-12-24 13:01:51 +01:00
2023-08-01 15:13:17 +02:00
2023-08-02 09:26:54 +02:00
## Variables
2023-08-01 15:13:17 +02:00
2023-08-02 09:26:54 +02:00
### Général
2023-08-01 15:13:17 +02:00
2023-08-02 09:26:54 +02:00
#### Redis
Configuration du service de cache Redis.
| Parameter | Comments |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **[general.redis.redis_instance_name](dictionaries/90_redis.xml)**<br/>mandatory<br/>**Type:** [`string`](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Nom de l'instance.<br/>**Default:** *calculated* |
| **[general.redis.redis_save](dictionaries/90_redis.xml)**<br/>mandatory<br/>**Type:** [`string`](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Activer la persistence des données.<br/>**Default:** False |
| **[general.redis.redis_max_memory](dictionaries/90_redis.xml)**<br/>mandatory<br/>**Type:** [`number`](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Quantité de mémoire utilisable par Redis.<br/>La valeur est en Mo.<br/>**Default:** 512 |
| **[general.redis.redis_memory_policy](dictionaries/90_redis.xml)**<br/>mandatory<br/>**Type:** [`choice`](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Méthode de libération de mémoire lorsque le maximum est atteint.<br/>**Choices:**<br/>- `volatile-lru`<br/>- `allkeys-lru`<br/>- `volatile-lfu`<br/>- `allkeys-lfu`<br/>- `volatile-random`<br/>- `allkeys-random`<br/>- `volatile-ttl`<br/>- `noeviction` ← (default) |
| **[general.redis.redis_tcp_keepalive](dictionaries/90_redis.xml)**<br/>mandatory<br/>**Type:** [`number`](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Intervalle entre le dernier envoi de paquet TCP et la réponse ACK.<br/>La valeur est en seconde.<br/>**Default:** 300 |
| **[general.redis.redis_max_clients](dictionaries/90_redis.xml)**<br/>mandatory<br/>**Type:** [`number`](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Nombre de client maximum autorisé.<br/>**Default:** 10000 |
### Accounts
#### remote_
This a dynamic family generated from the variable "accounts.remotes".
| Parameter | Comments |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------|
| **[accounts.remote_.ip_](extras/accounts/00_accounts.xml)**<br/>mandatory<br/>**Type:** [`ip`](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | **Default:** *calculated* |
## Requirements services
2023-08-01 15:13:17 +02:00
2023-08-02 09:26:54 +02:00
- **LocalDNS**
- Journald
**bold**: provider is mandatory
## Example
Zone names are provided as examples. Think about adapting with the value of provider_zone in configuration file.
2023-08-01 15:13:17 +02:00
```
redis:
applicationservice: redis
provider_zone: redis
zones_name:
- localdns
```
2022-12-24 13:01:51 +01:00
## Dependances
2023-06-29 18:56:46 +02:00
- [base-fedora-38](../base-fedora-38/README.md)
2022-12-24 13:01:51 +01:00
- [base-fedora](../base-fedora/README.md)
- [systemd](../systemd/README.md)
- [base-machine](../base-machine/README.md)
- [base](../base/README.md)
- [dns-local](../dns-local/README.md)
2023-02-14 14:24:16 +01:00
- [pki-tls](../pki-tls/README.md)
2023-06-29 18:56:46 +02:00
- [journald](../journald/README.md)
2023-07-31 18:41:59 +02:00
- [resolved](../resolved/README.md)
2023-06-29 18:56:46 +02:00
- [redis-common](../redis-common/README.md)
2022-12-24 13:01:51 +01:00
2023-01-18 09:19:37 +01:00
## Supplier
2022-12-24 13:01:51 +01:00
2023-01-18 09:19:37 +01:00
[redis-client](../redis-client/README.md)
2023-02-14 14:43:41 +01:00
[All applications services for this dataset.](../README.md)