Disks Service
This commit is contained in:
parent
271007044a
commit
7f5b5209a1
10 changed files with 256 additions and 0 deletions
59
docs/backend/disks.md
Normal file
59
docs/backend/disks.md
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
# Disks
|
||||
|
||||
``` bash
|
||||
cd /opt/instant-workstation/backend/disks
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
=== "Fedora"
|
||||
|
||||
``` bash
|
||||
sudo dnf install python qemu-img
|
||||
```
|
||||
|
||||
=== "Ubuntu"
|
||||
|
||||
``` bash
|
||||
sudo apt install python-is-python3 qemu-utils
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo ln -s /opt/instant-workstation/infrastructure/systemd/disks.service /etc/systemd/system/.
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl daemon-reload
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl enable disks
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl start disks
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl status disks
|
||||
```
|
||||
|
||||
## Updates
|
||||
|
||||
### Service
|
||||
|
||||
``` bash
|
||||
git pull
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl daemon-reload
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl restart disks
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl status disks
|
||||
```
|
||||
|
|
@ -2,4 +2,5 @@
|
|||
|
||||
| Service | Language | Toolchain | Host | Port | Last Updated |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| [Disks](disks.md) | Python | CPython | 192.168.88.251 | 50005 | 2026-10-22 |
|
||||
| [Workstations](workstations.md) | JavaScript | Node.js | 192.168.88.228 | 50000 | 2026-09-02 |
|
||||
|
|
@ -7,7 +7,9 @@ architecture-beta
|
|||
group backend(server)[Backend]
|
||||
group frontend(internet)[Frontend]
|
||||
|
||||
service disks(server)[Disks] in backend
|
||||
service workstations(server)[Workstations] in backend
|
||||
|
||||
service header(internet)[Header] in frontend
|
||||
|
||||
header:R --> L:workstations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue