Merge branch 'main' of github.com:m-ghaoui/stuff
This commit is contained in:
commit
fb5aba6061
5 changed files with 78 additions and 2 deletions
44
docker/karakeep/compose.yaml
Normal file
44
docker/karakeep/compose.yaml
Normal 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
20
homeservers/Caddy.md
Normal 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
|
||||
```
|
||||
|
|
@ -42,3 +42,4 @@ I have backup and restore scripts and instructions. See here:
|
|||
|
||||
* [Backup](./Backup.md)
|
||||
* [Restore](./Restore.md)
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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
|
||||
```
|
||||
Loading…
Add table
Reference in a new issue