From 98448df0dc53c426537b8c652e3b702f42e5694b Mon Sep 17 00:00:00 2001 From: pazpi Date: Sat, 24 May 2025 18:07:53 +0200 Subject: [PATCH] Add Docker Compose configuration for Karakeep services --- containers/karakeep/docker-compose.yaml | 57 +++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 containers/karakeep/docker-compose.yaml diff --git a/containers/karakeep/docker-compose.yaml b/containers/karakeep/docker-compose.yaml new file mode 100644 index 0000000..3b29648 --- /dev/null +++ b/containers/karakeep/docker-compose.yaml @@ -0,0 +1,57 @@ +services: + karakeep-app: + image: ghcr.io/karakeep-app/karakeep:release + container_name: karakeep-app + restart: unless-stopped + ports: + - 3000:3000 + volumes: + - ${PWD}/karakeep/data:/data + environment: + - KARAKEEP_VERSION=release + - MEILI_ADDR=http://karakeep-meilisearch:7700 + - BROWSER_WEB_URL=http://karakeep-chrome:9222 + - NEXTAUTH_SECRET= + - MEILI_MASTER_KEY= + - NEXTAUTH_URL=https://keep.example.com + - DATA_DIR=/data + - CRAWLER_STORE_SCREENSHOT=true + - CRAWLER_FULL_PAGE_SCREENSHOT=true + - CRAWLER_ENABLE_ADBLOCKER=true + - OPENAI_BASE_URL=http://litellm/v1/ + - OPENAI_API_KEY=sk- + - INFERENCE_IMAGE_MODEL="GPT-4o Mini" + - DISABLE_SIGNUPS=false + - DISABLE_PASSWORD_AUTH=true + - OAUTH_PROVIDER_NAME=Authentik + - OAUTH_WELLKNOWN_URL=https://auth.example.com/application/o/karakeep/.well-known/openid-configuration + - OAUTH_CLIENT_ID= + - OAUTH_CLIENT_SECRET= + labels: + - "com.centurylinklabs.watchtower.enable=true" + + karakeep-chrome: + image: gcr.io/zenika-hub/alpine-chrome:123 + container_name: karakeep-chrome + 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 + labels: + - "com.centurylinklabs.watchtower.enable=true" + + karakeep-meilisearch: + image: getmeili/meilisearch:v1.13.3 + container_name: karakeep-meilisearch + restart: unless-stopped + environment: + - MEILI_NO_ANALYTICS=true + - MEILI_MASTER_KEY= + volumes: + - ${PWD}/karakeep/meilisearch:/meili_data + labels: + - "com.centurylinklabs.watchtower.enable=true"