Upload files to "documents"
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
# AppFactory Overview
|
||||||
|
|
||||||
|
AppFactory je self-hosted PaaS platforma postavená na Docker, FastAPI, SQLite a shell skriptech.
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# Templates
|
||||||
|
|
||||||
|
app_templates je jediný source of truth.
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# Deployments
|
||||||
|
|
||||||
|
Flow: create_script -> registrace do apps -> deploy job.
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# Scheduled Scripts
|
||||||
|
|
||||||
|
Scheduler vytváří joby typu run_script.
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
# Disaster Recovery Notes
|
||||||
|
|
||||||
|
## Portal is Source of Truth
|
||||||
|
|
||||||
|
Google
|
||||||
|
-> Portal Users
|
||||||
|
-> Portal Roles
|
||||||
|
-> Gitea Provisioning
|
||||||
|
-> Gitea
|
||||||
|
|
||||||
|
## Restore Rules
|
||||||
|
|
||||||
|
Restore must NOT overwrite:
|
||||||
|
|
||||||
|
- production domains
|
||||||
|
- HTTPS configuration
|
||||||
|
- OAuth configuration
|
||||||
|
|
||||||
|
Existing .env values must remain unchanged.
|
||||||
|
|
||||||
|
## TLS State
|
||||||
|
|
||||||
|
Restore must preserve:
|
||||||
|
|
||||||
|
- /opt/appfactory/data/caddy
|
||||||
|
- /opt/appfactory/data/caddy-config
|
||||||
|
|
||||||
|
Otherwise:
|
||||||
|
|
||||||
|
- HTTPS stops working
|
||||||
|
- Google OAuth stops working
|
||||||
|
- Let's Encrypt rate limits may occur
|
||||||
|
|
||||||
|
## Google OAuth
|
||||||
|
|
||||||
|
Callback:
|
||||||
|
|
||||||
|
https://services.csbot.cz/portal/auth/google/callback
|
||||||
|
|
||||||
|
## Gitea
|
||||||
|
|
||||||
|
Registration disabled:
|
||||||
|
|
||||||
|
```ini
|
||||||
|
DISABLE_REGISTRATION = true
|
||||||
|
ENABLE_OPENID_SIGNUP = false
|
||||||
|
```
|
||||||
|
|
||||||
|
## Verification
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -I https://services.csbot.cz
|
||||||
|
curl -I https://git.csbot.cz
|
||||||
|
curl -I https://registry.csbot.cz/v2/
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
/opt/appfactory/workspace/appfactory-tools/maintenance/preflight-check.sh
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user