Compare commits
2 Commits
main
..
19d867ec9f
| Author | SHA1 | Date | |
|---|---|---|---|
|
19d867ec9f
|
|||
|
f30b350685
|
@@ -1,11 +1,3 @@
|
|||||||
## [0.33.1](http://gitea-http.gitea:3000/alexlebens/site-documentation/compare/0.33.0...0.33.1) (2026-05-13)
|
|
||||||
|
|
||||||
|
|
||||||
### Bug Fixes
|
|
||||||
|
|
||||||
* **deps:** update astro monorepo ([1ba3471](http://gitea-http.gitea:3000/alexlebens/site-documentation/commit/1ba34713fc080594bb3072434110020b80b3c6e9))
|
|
||||||
* **deps:** update dependency sanitize-html to v2.17.4 ([6c72bab](http://gitea-http.gitea:3000/alexlebens/site-documentation/commit/6c72bab2cf6ac47011c6449d0b4c9d2808312100))
|
|
||||||
|
|
||||||
# [0.33.0](http://gitea-http.gitea:3000/alexlebens/site-documentation/compare/0.32.0...0.33.0) (2026-05-13)
|
# [0.33.0](http://gitea-http.gitea:3000/alexlebens/site-documentation/compare/0.32.0...0.33.0) (2026-05-13)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "site-documentation",
|
"name": "site-documentation",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.33.1",
|
"version": "0.33.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
"build": "astro build",
|
"build": "astro build",
|
||||||
|
|||||||
@@ -1,68 +0,0 @@
|
|||||||
---
|
|
||||||
title: Update Komodo Hosts
|
|
||||||
description: Steps followed to update the Periphery Agents on Komodo managed hosts.
|
|
||||||
hero:
|
|
||||||
tagline: Steps followed to update the Periphery Agents on Komodo managed hosts.
|
|
||||||
image:
|
|
||||||
file: https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/komodo.webp
|
|
||||||
---
|
|
||||||
|
|
||||||
import { Aside } from '@astrojs/starlight/components';
|
|
||||||
import { Steps } from '@astrojs/starlight/components';
|
|
||||||
|
|
||||||
<Aside type="tip">Find the latest documentation from Komodo [here](https://komo.do/docs/intro).</Aside>
|
|
||||||
<Aside type="tip">Find the local Application documentation [here](https://docs.alexlebens.dev/applications/komodo/).</Aside>
|
|
||||||
|
|
||||||
# Systemd hosts
|
|
||||||
|
|
||||||
These hosts are on the same network as Komodo and have direct access. For simplicity, they run as a [systemd](https://systemd.io/) service.
|
|
||||||
|
|
||||||
SSH to the host and run the following command. This command is repeatable and non-destructive and will update to the latest version.
|
|
||||||
````bash
|
|
||||||
curl -sSL https://raw.githubusercontent.com/moghtech/komodo/main/scripts/setup-periphery.py | python3 - \
|
|
||||||
--core-address="https://komodo.alexlebens.net"
|
|
||||||
````
|
|
||||||
|
|
||||||
# Docker hosts
|
|
||||||
|
|
||||||
These hosts are not on the network and need some kind of VPN connection, such as [Tailscale](https://tailscale.com/). Because of this requirement it becomes simpler to use containers and [Docker networks](https://docs.docker.com/engine/network/).
|
|
||||||
|
|
||||||
The hosts should have their [compose](https://docs.docker.com/compose/) files defined in the [infrastructure repository](https://gitea.alexlebens.dev/alexlebens/infrastructure/src/branch/main/hosts). Therefore, [Renovate](https://gitea.alexlebens.dev/alexlebens/infrastructure/actions?workflow=renovate.yaml&actor=0&status=0) will make updates to those files.
|
|
||||||
|
|
||||||
<Steps>
|
|
||||||
1. SSH to the host and switch user to root.
|
|
||||||
````bash
|
|
||||||
ssh <hostname>
|
|
||||||
````
|
|
||||||
|
|
||||||
2. Change directory to where the local git folder is. This can vary per host, but the default should be in the /opt/compose folder.
|
|
||||||
````bash
|
|
||||||
cd /opt/compose/infrastructure
|
|
||||||
````
|
|
||||||
|
|
||||||
3. Pull the latest changes.
|
|
||||||
````bash
|
|
||||||
git pull
|
|
||||||
````
|
|
||||||
|
|
||||||
4. Change directory to the host and Komodo app.
|
|
||||||
````bash
|
|
||||||
cd /opt/compose/infrastructure/hosts/<host>/komodo-periphery
|
|
||||||
````
|
|
||||||
|
|
||||||
5. Bring down the current stack.
|
|
||||||
````bash
|
|
||||||
docker compose down
|
|
||||||
````
|
|
||||||
|
|
||||||
5. Bring down the stack back up. This should pull the latest image.
|
|
||||||
````bash
|
|
||||||
docker compose up -d
|
|
||||||
````
|
|
||||||
|
|
||||||
6. Verify updates on the Komodo servers page.
|
|
||||||
````
|
|
||||||
[https://komodo.alexlebens.net/servers](https://komodo.alexlebens.net/servers)
|
|
||||||
````
|
|
||||||
</Steps>
|
|
||||||
|
|
||||||
@@ -31,8 +31,4 @@
|
|||||||
.site-title:where(.astro-gmuhlsjs) {
|
.site-title:where(.astro-gmuhlsjs) {
|
||||||
color: var(--color-turquoise);
|
color: var(--color-turquoise);
|
||||||
}
|
}
|
||||||
|
|
||||||
div.sl-markdown-content a {
|
|
||||||
color: var(--color-turquoise);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user