A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
services:
web:
build:
dockerfile: docker/Dockerfile
context: ../../
target: aio
restart: unless-stopped
ports:
- "${KARAKEEP_PORT:-3000}:3000"
environment:
DATA_DIR: /tmp
NEXTAUTH_SECRET: secret
NEXTAUTH_URL: http://localhost:${KARAKEEP_PORT:-3000}
MEILI_MASTER_KEY: dummy
MEILI_ADDR: http://meilisearch:7700
BROWSER_WEB_URL: http://chrome:9222
CRAWLER_NUM_WORKERS: 6
CRAWLER_ALLOWED_INTERNAL_HOSTNAMES: nginx
meilisearch:
image: getmeili/meilisearch:v1.55.0
restart: unless-stopped
environment:
MEILI_NO_ANALYTICS: "true"
MEILI_MASTER_KEY: dummy
chrome:
image: ghcr.io/karakeep-app/karakeep-chrome:release
restart: unless-stopped
init: true
command:
- --disable-gpu
- --disable-dev-shm-usage
- --hide-scrollbars
- --disable-blink-features=AutomationControlled
- --window-size=1440,900
nginx:
image: nginx:alpine
restart: unless-stopped
volumes:
- ./setup/html:/usr/share/nginx/html
garage:
image: dxflrs/garage:v2.3.0
restart: unless-stopped
ports:
- "9000:3900"
environment:
# Fixed credentials for local tests only.
GARAGE_DEFAULT_ACCESS_KEY: GK0123456789abcdef0123456789abcdef
GARAGE_DEFAULT_SECRET_KEY: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
GARAGE_DEFAULT_BUCKET: karakeep-test
command: /garage server --single-node --default-bucket
volumes:
- ../../docker/garage/garage.toml:/etc/garage.toml:ro
- garage_data:/data
healthcheck:
test: ["CMD", "/garage", "bucket", "info", "karakeep-test"]
interval: 1s
timeout: 5s
retries: 30
volumes:
garage_data: