auto: sync 2026-05-28

This commit is contained in:
2026-05-28 03:15:11 +02:00
parent 8ab6f699ae
commit 5d3187181d
3 changed files with 93 additions and 75 deletions
+45 -33
View File
@@ -3,9 +3,9 @@ services:
image: ghcr.io/hoarder-app/hoarder:${HOARDER_VERSION:-release}
container_name: karakeep
volumes:
- /opt/stacks/karakeep/localdata/data:/data
- /opt/stacks/karakeep/localdata/data:/data
ports:
- 17001:3000
- 17001:3000
environment:
HOARDER_VERSION: ${HOARDER_VERSION}
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
@@ -30,52 +30,61 @@ services:
deploy:
resources:
limits:
cpus: "1.0"
cpus: '1.0'
memory: 2G
reservations:
cpus: "0.5"
cpus: '0.5'
memory: 1G
healthcheck:
# karakeep serves health at /api/health (/health is 404)
test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"]
test:
- CMD
- curl
- -f
- http://localhost:3000/api/health
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
networks:
- default
restart: unless-stopped
labels:
- "homepage.group=productivity"
- "homepage.name=Karakeep"
- "homepage.icon=sh-karakeep"
- "homepage.href=https://hoarder.nuclide.systems"
- "homepage.instance.internal.href=http://192.168.1.40:17001"
- "homepage.instance.public.href=https://hoarder.nuclide.systems"
- "homepage.widget.type=karakeep"
- "homepage.widget.url=http://192.168.1.40:17001"
- "homepage.widget.key=ak2_19817764ad2d3b7bc010_add146880ec70ee560cc8fbf87b46085"
- homepage.group=productivity
- homepage.name=Karakeep
- homepage.icon=sh-karakeep
- homepage.href=https://hoarder.nuclide.systems
- homepage.instance.internal.href=http://192.168.1.40:17001
- homepage.instance.public.href=https://hoarder.nuclide.systems
- homepage.widget.type=karakeep
- homepage.widget.url=http://192.168.1.40:17001
- homepage.widget.key=ak2_19817764ad2d3b7bc010_add146880ec70ee560cc8fbf87b46085
chrome:
image: gcr.io/zenika-hub/alpine-chrome:123
container_name: karakeep_chrome
shm_size: '512m'
shm_size: 512m
command:
- --no-sandbox
- --disable-gpu
- --disable-dev-shm-usage
- --remote-debugging-address=0.0.0.0
- --remote-debugging-port=9222
- --hide-scrollbars
- --no-sandbox
- --disable-gpu
- --disable-dev-shm-usage
- --remote-debugging-address=0.0.0.0
- --remote-debugging-port=9222
- --hide-scrollbars
deploy:
resources:
limits:
cpus: "0.5"
cpus: '0.5'
memory: 1G
reservations:
cpus: "0.25"
cpus: '0.25'
memory: 512M
healthcheck:
# alpine-chrome has no curl; busybox wget is present. Use 127.0.0.1 NOT
# localhost — localhost resolves to ::1 but Chrome binds IPv4 only.
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:9222/json/version"]
test:
- CMD
- wget
- -q
- -O
- /dev/null
- http://127.0.0.1:9222/json/version
interval: 30s
timeout: 10s
retries: 3
@@ -86,20 +95,23 @@ services:
container_name: karakeep_meilisearch
environment:
MEILI_MASTER_KEY: ${MEILI_MASTER_KEY}
MEILI_NO_ANALYTICS: "true"
MEILI_NO_ANALYTICS: 'true'
volumes:
# - meilisearch:/meili_data
- /opt/stacks/karakeep/localdata/meili:/meili_data
- /opt/stacks/karakeep/localdata/meili:/meili_data
deploy:
resources:
limits:
cpus: "1.0"
cpus: '1.0'
memory: 2G
reservations:
cpus: "0.5"
cpus: '0.5'
memory: 1G
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7700/health"]
test:
- CMD
- curl
- -f
- http://localhost:7700/health
interval: 30s
timeout: 10s
retries: 3