Files
bigbox-docker/karakeep/docker-compose.yml
2025-08-31 13:37:36 +03:00

52 lines
1.5 KiB
YAML

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:
- 5000: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
CRAWLER_NUM_WORKERS: 2
CRAWLER_FULL_PAGE_SCREENSHOT: "true"
CRAWLER_SCREENSHOT_TIMEOUT_SEC: 15
CRAWLER_FULL_PAGE_ARCHIVE: "true"
CRAWLER_JOB_TIMEOUT_SEC: 120
CRAWLER_VIDEO_DOWNLOAD: "true"
CRAWLER_VIDEO_DOWNLOAD_MAX_SIZE: 500
CRAWLER_VIDEO_DOWNLOAD_TIMEOUT_SEC: 720
chrome:
image: gcr.io/zenika-hub/alpine-chrome:123
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: