refactor(compose): protect services and centralize routing

This commit is contained in:
Eduardo David Paredes Vara
2026-07-25 11:21:08 +00:00
parent 29988f3149
commit 4536b3a36a
24 changed files with 159 additions and 104 deletions
+5 -5
View File
@@ -1,7 +1,6 @@
services:
karakeep:
image: ghcr.io/karakeep-app/karakeep:${KARAKEEP_VERSION}
pull_policy: always
container_name: karakeep
restart: unless-stopped
environment:
@@ -42,17 +41,16 @@ services:
- karakeep_internal
- proxy
labels:
prune.protect: "true"
traefik.enable: "true"
traefik.docker.network: "${TRAEFIK_DOCKER_NETWORK}"
traefik.http.routers.karakeep.rule: "Host(`${KARAKEEP_DOMAIN}`)"
traefik.http.routers.karakeep.entrypoints: "${TRAEFIK_ENTRYPOINT_SECURE}"
traefik.http.routers.karakeep.tls.certresolver: "${TRAEFIK_CERTRESOLVER}"
traefik.http.services.karakeep.loadbalancer.server.port: "3000"
karakeep-chrome:
image: gcr.io/zenika-hub/alpine-chrome:124
container_name: karakeep-chrome
restart: unless-stopped
labels:
prune.protect: "true"
command:
- --no-sandbox
- --disable-gpu
@@ -67,6 +65,8 @@ services:
image: getmeili/meilisearch:v1.37.0
container_name: karakeep-meilisearch
restart: unless-stopped
labels:
prune.protect: "true"
environment:
MEILI_MASTER_KEY: ${MEILI_MASTER_KEY}
MEILI_NO_ANALYTICS: "true"