Initial commit

This commit is contained in:
Yaser
2026-08-13 19:42:08 +03:30
commit d59bf30ef0
173 changed files with 11702 additions and 0 deletions

83
README.md Normal file
View File

@@ -0,0 +1,83 @@
<div dir="rtl">
# Alvand-P — ارکستراسیون Fibitex
**Alvand-P** فورک [OpenDAX](https://github.com/openware/opendax) برای صرافی **Fibitex** است: compose، Vault، Traefik، و render قالب‌ها.
| OpenDAX | Fibitex |
|---------|---------|
| OpenDAX | Alvand-P |
| Peatio | [Dena](../Dena/) |
| Barong | [Dalan](../Dalan/) |
| BaseApp | [Gereh](../Gereh/) / [Shahoo](../Shahoo/) |
## پیش‌نیازها
- Docker Compose v2، Ruby 2.6 + Bundler
- Linux/macOS (staging: Ubuntu) یا Windows + Docker Desktop
- Vault unseal keys (staging/production)
## راه‌اندازی سریع
<div dir="ltr">
```bash
cd Alvand-P
bundle install
cp config/app.local.yml.example config/app.local.yml # لوکال
rake render:config
rake service:all
```
</div>
لوکال Windows: [`start-fibitex.bat`](../start-fibitex.bat) از ریشه Main code.
Staging: [`Docs/Fibitex-staging-deploy.md`](../Docs/Fibitex-staging-deploy.md)
## مستندات
| سند | موضوع |
|-----|--------|
| [`Docs/Fibitex-staging-deploy.md`](../Docs/Fibitex-staging-deploy.md) | Deploy staging (منبع حقیقت) |
| [`Docs/06-setup-local.md`](../Docs/06-setup-local.md) | لوکال Docker |
| [`Docs/07-setup-server.md`](../Docs/07-setup-server.md) | Production |
| [`Docs/05-alvand-p-platform.md`](../Docs/05-alvand-p-platform.md) | معماری Alvand-P |
| [`Docs/QA-troubleshooting.md`](Docs/QA-troubleshooting.md) | عیب‌یابی عملیاتی |
| [`Docs/troubleshoot-barong-authz.md`](Docs/troubleshoot-barong-authz.md) | Barong authz |
| [`Docs/ubuntu-install.md`](Docs/ubuntu-install.md) | نصب Ubuntu |
| [`Docs/README.md`](../Docs/README.md) | فهرست مرکزی |
## دستورات پرکاربرد
<div dir="ltr">
```bash
rake render:config
rake service:all
docker compose -p fibitex up -d --force-recreate # بعد از تغییر logging
rake vault:load_policies
rake service:monitoring # all monitoring service up
```
</div>
## Log rotation
Templateهای compose tierهای `noisy` (10m×3) و `quiet` (5m×2) دارند. بعد از تغییر: `render:config` + `--force-recreate`. جزئیات: Fibitex staging deploy §۸.۳.
---
</div>
<details>
<summary>OpenDAX upstream README (مرجع)</summary>
![Cryptocurrency Exchange Platform - OpenDAX](https://github.com/openware/meta/raw/main/images/github_opendax.png)
OpenDAX is an open-source cloud-native multi-service platform for building a Blockchain/FinTech exchange.
See upstream: https://github.com/openware/opendax
</details>