Ajouter docker-compose/karakeep/docker-compose.yml

This commit is contained in:
toma 2026-01-27 22:43:40 +01:00
parent c8b0abf502
commit e4c8fc008e

View File

@ -0,0 +1,45 @@
version: "3.8"
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
- /opt/karakeep:/data
ports:
- 3002:3000
env_file:
- stack.env
environment:
MEILI_ADDR: http://meilisearch:7700
BROWSER_WEB_URL: http://chrome:9222
OPENAI_API_KEY: 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
# 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: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:
- stack.env
environment:
MEILI_NO_ANALYTICS: "true"
volumes:
- meilisearch:/meili_data
volumes:
meilisearch:
data: