Compare commits

...
3 Commits
Author SHA1 Message Date
julien 4e3ea11ace "Updates" 2026-06-26 08:51:44 +02:00
julien 0232326b85 "Updates" 2026-06-26 08:51:44 +02:00
julien 54d87eaa5a "Updates" 2026-06-26 08:51:44 +02:00
5 changed files with 6 additions and 55 deletions
-43
View File
@@ -1,43 +0,0 @@
# LocalAI
```
sudo mkdir -p /mnt/data/localai
```
```bash
cd /mnt/data
git clone https://github.com/go-skynet/LocalAI
cd LocalAI
# (optional) Checkout a specific LocalAI tag
# git checkout -b build <TAG>
# copy your models to models/
wget https://gpt4all.io/models/ggml-gpt4all-j.bin -O models/ggml-gpt4all-j
# cp your-model.bin models/
# Use a template from the examples
cp -rf prompt-templates/ggml-gpt4all-j.tmpl models/
# (optional) Edit the .env file to set things like context size and threads
# vim .env
docker-compose up -d --build
# Now API is accessible at localhost:8080
curl http://localhost:8080/v1/models
# {"object":"list","data":[{"id":"ggml-gpt4all-j","object":"model"}]}
curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{
"model": "ggml-gpt4all-j",
"messages": [{"role": "user", "content": "How are you?"}],
"temperature": 0.9
}'
# {"model":"ggml-gpt4all-j","choices":[{"message":{"role":"assistant","content":"I'm doing well, thanks. How about you?"}}]}
```
[https://localai.io](https://localai.io "https://localai.io")
-1
View File
@@ -45,7 +45,6 @@ it IN A 176.188.240.123
jellyfin IN A 176.188.240.123 jellyfin IN A 176.188.240.123
jellyseerr IN A 176.188.240.123 jellyseerr IN A 176.188.240.123
kontadenn IN A 176.188.240.123 kontadenn IN A 176.188.240.123
lai IN A 176.188.240.123
lghn IN A 176.188.240.123 lghn IN A 176.188.240.123
lnk IN A 176.188.240.123 lnk IN A 176.188.240.123
lud IN A 176.188.240.123 lud IN A 176.188.240.123
+2 -2
View File
@@ -166,7 +166,7 @@ sudo vim /etc/exports
/srv/nfs4/cloud 192.168.1.0/24(rw,sync,wdelay,hide,nocrossmnt,insecure,no_root_squash,no_all_squash,subtree_check,secure_locks,acl,no_pnfs,anonuid=65534,anongid=65534,sec=sys,rw,insecure,no_root_squash,no_all_squash) /srv/nfs4/cloud 192.168.1.0/24(rw,sync,wdelay,hide,nocrossmnt,insecure,no_root_squash,no_all_squash,subtree_check,secure_locks,acl,no_pnfs,anonuid=65534,anongid=65534,sec=sys,rw,insecure,no_root_squash,no_all_squash)
/srv/nfs4/media 192.168.1.0/24(rw,sync,wdelay,hide,nocrossmnt,insecure,no_root_squash,no_all_squash,subtree_check,secure_locks,acl,no_pnfs,anonuid=65534,anongid=65534,sec=sys,rw,insecure,no_root_squash,no_all_squash) /srv/nfs4/media 192.168.1.0/24(rw,sync,wdelay,hide,nocrossmnt,insecure,no_root_squash,no_all_squash,subtree_check,secure_locks,acl,no_pnfs,anonuid=65534,anongid=65534,sec=sys,rw,insecure,no_root_squash,no_all_squash)
/srv/nfs4/downloads 192.168.1.0/24(rw,sync,wdelay,hide,nocrossmnt,insecure,no_root_squash,no_all_squash,subtree_check,secure_locks,acl,no_pnfs,anonuid=65534,anongid=65534,sec=sys,rw,insecure,no_root_squash,no_all_squash) /srv/nfs4/downloads 192.168.1.0/24(rw,sync,wdelay,hide,nocrossmnt,insecure,no_root_squash,no_all_squash,subtree_check,secure_locks,acl,no_pnfs,anonuid=65534,anongid=65534,sec=sys,rw,insecure,no_root_squash,no_all_squash)
/srv/nfs4/backups 192.168.1.0/24(ro,sync,no_subtree_check) /srv/nfs4/backups 192.168.1.0/24(rw,sync,wdelay,hide,nocrossmnt,insecure,no_root_squash,no_all_squash,subtree_check,secure_locks,acl,no_pnfs,anonuid=65534,anongid=65534,sec=sys,rw,insecure,no_root_squash,no_all_squash)
``` ```
@@ -194,7 +194,7 @@ UUID=... /mnt/data ext4
/mnt/data/cloud /srv/nfs4/cloud none bind,nofail 0 0 /mnt/data/cloud /srv/nfs4/cloud none bind,nofail 0 0
/mnt/data/media /srv/nfs4/media none bind,nofail 0 0 /mnt/data/media /srv/nfs4/media none bind,nofail 0 0
/mnt/data/media/downloads /srv/nfs4/downloads none bind,nofail 0 0 /mnt/data/media/downloads /srv/nfs4/downloads none bind,nofail 0 0
/opt/backups /srv/nfs4/backups none bind,nofail 0 0 /mnt/data/backups /srv/nfs4/backups none bind,nofail 0 0
``` ```
**PS : Check the content of /var/lib/nfs/etab to show NFS shares list and all the applied permission details** **PS : Check the content of /var/lib/nfs/etab to show NFS shares list and all the applied permission details**
-9
View File
@@ -320,15 +320,6 @@ kontadenn.delmar.bzh {
} }
} }
lai.delmar.bzh {
encode {
zstd
gzip
minimum_length 1024
}
reverse_proxy patrick:16080
}
lnk.delmar.bzh { lnk.delmar.bzh {
encode { encode {
zstd zstd
+4
View File
@@ -18,6 +18,10 @@ borg init -e none /mnt/data/backups/<repo_name>
# distant # distant
borg init -e none ssh://pleb@krabs/mnt/data/backups/<repo_name> borg init -e none ssh://pleb@krabs/mnt/data/backups/<repo_name>
``` ```
```bash
# url for nextcloud repo
ssh://pleb@192.168.1.15/mnt/data/backups/nextcloud
```
#### Encrypted repo #### Encrypted repo
```bash ```bash