chore: add initial docker-compose configuration for karakeep services

This commit is contained in:
nathan 2026-04-24 14:13:04 -04:00
parent e9ffd89a17
commit bd273d0d2a

View File

@ -0,0 +1,57 @@
services:
web:
image: ghcr.io/karakeep-app/karakeep:${KARAKEEP_VERSION:-release}
restart: unless-stopped
networks:
- proxy-net
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
- /mnt/appdata/karakeep/data:/data
ports:
- 3000:3000
env_file:
- .env
labels:
- "traefik.enable=true"
- "traefik.http.routers.karakeep.entrypoints=websecure"
- "traefik.http.routers.karakeep.rule=Host(keep.castaldifamily.com`)"
- "traefik.http.routers.karakeep.tls=true"
- "traefik.http.routers.karakeep.tls.certresolver=cloudflare"
- "traefik.http.services.karakeep.loadbalancer.server.port=3000"
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
networks:
- proxy-net
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.41.0
restart: unless-stopped
env_file:
- .env
networks:
- proxy-net
environment:
MEILI_NO_ANALYTICS: "true"
volumes:
- /mnt/appdata/karakeep/meilisearch:/meili_data
networks:
proxy-net:
external: true