Merge branch 'main' of github.com:m-ghaoui/stuff

This commit is contained in:
Moni Ghaoui 2025-10-13 23:20:43 +02:00
commit fb5aba6061
5 changed files with 78 additions and 2 deletions

View file

@ -0,0 +1,44 @@
services:
web:
image: ghcr.io/karakeep-app/karakeep:${KARAKEEP_VERSION:-release}
restart: unless-stopped
volumes:
# By default, the data is stored in a docker volume called "data".
# If you want to mount a custom directory, change the volume mapping to:
# - /path/to/your/directory:/data
- data:/data
ports:
- 3001:3000
env_file:
- .env
environment:
MEILI_ADDR: http://meilisearch:7700
BROWSER_WEB_URL: http://chrome:9222
# OPENAI_API_KEY: ...
# You almost never want to change the value of the DATA_DIR variable.
# If you want to mount a custom directory, change the volume mapping above instead.
DATA_DIR: /data # DON'T CHANGE THIS
chrome:
image: gcr.io/zenika-hub/alpine-chrome:124
restart: unless-stopped
command:
- --no-sandbox
- --disable-gpu
- --disable-dev-shm-usage
- --remote-debugging-address=0.0.0.0
- --remote-debugging-port=9222
- --hide-scrollbars
meilisearch:
image: getmeili/meilisearch:v1.13.3
restart: unless-stopped
env_file:
- .env
environment:
MEILI_NO_ANALYTICS: "true"
volumes:
- meilisearch:/meili_data
volumes:
meilisearch:
data:

20
homeservers/Caddy.md Normal file
View file

@ -0,0 +1,20 @@
# Caddy
To edit the Caddyfile
```sh
sudo bastille cmd caddy nvim /usr/local/etc/caddy/Caddyfile
sudo bastille restart caddy
```
To see the log
```sh
sudo bastille cmd caddy tail /var/log/caddy/caddy.log
```
To enter the console
```sh
sudo bastille console caddy
```

View file

@ -41,4 +41,5 @@ Right now I'm running the following containers:
I have backup and restore scripts and instructions. See here:
* [Backup](./Backup.md)
* [Restore](./Restore.md)
* [Restore](./Restore.md)

View file

@ -85,7 +85,7 @@ Uncomment/change these settings:
```conf
PermitRootLogin no
# PubkeyAuthentication yes <-- This is the detault, so you don't need to change this
# PubkeyAuthentication yes <-- This is the default, so you don't need to change this
PasswordAuthentication no
KbdInteractiveAuthentication no
```

View file

@ -205,3 +205,14 @@ pkg install sddm
sysrc sddm_enable="YES"
sysrc sddm_lang="en_US"
```
# Wayland
```sh
pkg install wayland seatd
```
```sh
sysrc seatd_enable="YES"
service seatd start
```