documentation

This commit is contained in:
2024-05-31 16:39:22 +01:00
parent 1724a592b0
commit fe80588c07
3 changed files with 31 additions and 28 deletions

View File

@@ -6,19 +6,18 @@ Welcome to homesrv01.dev.lan git page.
Currently hosted on a proxmox ubuntu container.
Distributor ID: Ubuntu
Description: Ubuntu 23.04
Release: 23.04
Codename: lunar
Kernel: 5.15.111-1-pve
```bash
# check ubuntu release
lsb_release -a
# lsb_release -a
# check kernel version
uname -r
Distributor ID: Ubuntu
Description: Ubuntu 23.10
Release: 23.10
Codename: mantic
# uname -r
6.8.4-3-pve
```
## Development / Maintenance Environment
Currently using docker code server as an editor.
@@ -34,7 +33,6 @@ apt install curl -y
apt install git -y
curl -fsSL https://get.docker.com -o get-docker.sh && sh ./get-docker.sh
docker run hello-world && docker info
docker volume create --driver local --opt type=none --opt device=/ --opt o=bind host_fs
apt install sshfs
```
@@ -57,24 +55,18 @@ PermitRootLogin no
systemctl restart ssh
```
## Update System
## Update
```bash
apt update -y && apt upgrade -y && apt autoremove -y
scripts/auto-update.sh
```
cron
```bash
ln -s $PWD/scripts/auto-update.sh /etc/cron.daily/auto-update
```
if error on update because of EOL [check oficial documentation](https://help.ubuntu.com/community/EOLUpgrades#SpecificOlder)
## logs & Promtail
Check folder docker/promtail for more information
## Services
### External volumes
```
@@ -91,6 +83,20 @@ for more information [check](https://git.limbosolutions.com/kb/portainer)
services/portainer/docker-run.sh
```
### Promtail
#### Setup & Update
``` bash
services/promtail/docker-run.sh
```
### telegraf
#### Setup & Update
``` bash
services/telegraf/docker-run.sh
```
### nginx
#### Setup & Update
@@ -105,8 +111,6 @@ services/nginx/docker-run.sh
services/code-server/docker-run.sh
```
### home assistant
[Git Repo](https://git.limbosolutions.com/marcio.fernandes/homeAssistant)