Compare commits
No commits in common. "76eafa45ca172b47503757823d3313c18b033234" and "bc59794685a54196d26934fa9aae106170a9c6fc" have entirely different histories.
76eafa45ca
...
bc59794685
8 changed files with 5 additions and 81 deletions
3
architecture-docs/.gitignore
vendored
3
architecture-docs/.gitignore
vendored
|
|
@ -1,3 +0,0 @@
|
||||||
*.err
|
|
||||||
*.odt
|
|
||||||
.~lock*
|
|
||||||
BIN
architecture-docs/2024-architecture.png
Normal file
BIN
architecture-docs/2024-architecture.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 72 KiB |
|
|
@ -1,5 +1,4 @@
|
||||||
@startuml
|
@startuml
|
||||||
skinparam backgroundcolor transparent
|
|
||||||
|
|
||||||
package Management {
|
package Management {
|
||||||
object "Nix-Panel" as A {
|
object "Nix-Panel" as A {
|
||||||
|
|
@ -13,7 +12,7 @@ package Management {
|
||||||
Secrets
|
Secrets
|
||||||
}
|
}
|
||||||
object "**Orchestrator**" as Orch {
|
object "**Orchestrator**" as Orch {
|
||||||
Terraform
|
NixOps
|
||||||
}
|
}
|
||||||
object "**Identity Management**" as AAA {
|
object "**Identity Management**" as AAA {
|
||||||
Authentication
|
Authentication
|
||||||
|
|
@ -50,10 +49,12 @@ package Virtualization {
|
||||||
Application C
|
Application C
|
||||||
}
|
}
|
||||||
map "**Application options**" as App {
|
map "**Application options**" as App {
|
||||||
Vaultwarden => Matrix
|
Edumeet => Matrix
|
||||||
NextCloud => Pixelfed
|
NextCloud => Pixelfed
|
||||||
Webmail => Peertube
|
Webmail => Peertube
|
||||||
Forgejo => Mastodon
|
Hedgehoc => Mastodon
|
||||||
|
Project planning => Owncast
|
||||||
|
Office => Castopod
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
---
|
|
||||||
title: Fediversity migration entity relations
|
|
||||||
---
|
|
||||||
erDiagram
|
|
||||||
setup["Fediversity setup"]
|
|
||||||
env["run-time environment"]
|
|
||||||
deployed["deployed configuration"]
|
|
||||||
staged["staged configuration"]
|
|
||||||
token["deployment token"]
|
|
||||||
script["migration script"]
|
|
||||||
|
|
||||||
setup }o--o{ env : offers
|
|
||||||
setup ||--o{ operator : serves
|
|
||||||
operator ||--o{ domain : owns
|
|
||||||
deployment }|--|| domain : uses
|
|
||||||
operator ||--o{ deployment : has
|
|
||||||
deployment ||--|{ token : generates
|
|
||||||
deployment ||--o| deployed : has
|
|
||||||
deployment ||--|| staged : has
|
|
||||||
deployed |o--|| staged : compares
|
|
||||||
deployed ||--|{ application : describes
|
|
||||||
application ||--o{ version : follows
|
|
||||||
application ||--o{ script : runs
|
|
||||||
deployed }|--o{ version : follows
|
|
||||||
script }o--|| token : uses
|
|
||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 16 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 73 KiB |
|
|
@ -1,47 +0,0 @@
|
||||||
flowchart
|
|
||||||
|
|
||||||
user(user) --> |use| deployment
|
|
||||||
|
|
||||||
configuration1 -->|deploy| deployed1
|
|
||||||
devs(developers) --> |maintain| fediversity
|
|
||||||
|
|
||||||
fediversity --> |update| provider1
|
|
||||||
subgraph provider1["fediversity setup A"]
|
|
||||||
subgraph configurations1[configurations]
|
|
||||||
configuration1[staged configuration]
|
|
||||||
configuration1 --> |update| configuration1
|
|
||||||
deployed1[deployed configuration]
|
|
||||||
end
|
|
||||||
deployed1 --> |describe| deployment
|
|
||||||
provider-config[runtime config] --> |describe| host
|
|
||||||
provider-config --> |implement runtime interfaces| configurations1
|
|
||||||
subgraph host[runtime environment]
|
|
||||||
deployment[applications]
|
|
||||||
state
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
deployment --> |store| state
|
|
||||||
|
|
||||||
operator(operator) --> |change| configuration1
|
|
||||||
|
|
||||||
subgraph provider2["fediversity setup B"]
|
|
||||||
subgraph configurations2[configurations]
|
|
||||||
configuration2[staged configuration]
|
|
||||||
deployed2[deployed configuration]
|
|
||||||
end
|
|
||||||
subgraph host2[runtime environment]
|
|
||||||
deployment2[applications]
|
|
||||||
state2[state]
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
operator --> |trigger| migration
|
|
||||||
configurations1 & state --> migration
|
|
||||||
migration --> configurations2 & state2
|
|
||||||
provider(hosting provider) --> |maintain| provider1
|
|
||||||
subgraph fediversity[fediversity source code]
|
|
||||||
applications[application modules]
|
|
||||||
backends[runtime backends]
|
|
||||||
config[runtime options]
|
|
||||||
end
|
|
||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 32 KiB |
Loading…
Add table
Reference in a new issue