From fbe990ada23a3ecf0c13fe1dff6d5c9d7c54dedf Mon Sep 17 00:00:00 2001 From: Moni Ghaoui Date: Sun, 12 Oct 2025 21:46:42 +0200 Subject: [PATCH] x --- docker/karakeep/compose.yaml | 44 ++++++++++++++++++++++++++++++++++++ homeservers/Caddy.md | 20 ++++++++++++++++ homeservers/README.md | 3 ++- 3 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 docker/karakeep/compose.yaml create mode 100644 homeservers/Caddy.md diff --git a/docker/karakeep/compose.yaml b/docker/karakeep/compose.yaml new file mode 100644 index 0000000..c94b3bf --- /dev/null +++ b/docker/karakeep/compose.yaml @@ -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: diff --git a/homeservers/Caddy.md b/homeservers/Caddy.md new file mode 100644 index 0000000..37e31a5 --- /dev/null +++ b/homeservers/Caddy.md @@ -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 +``` diff --git a/homeservers/README.md b/homeservers/README.md index e4e95b0..bbb3e10 100644 --- a/homeservers/README.md +++ b/homeservers/README.md @@ -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) \ No newline at end of file +* [Restore](./Restore.md) +