Files
admin/host-stacks/vds-kzntsv/mappa.compose.yml
vitya f2078c1c8a chore(deploy): mappa v0.32.0 — стек 27 (compose тег) + инвентарь ранбука (task:1492)
PUT stack 27: image v0.32.0, env 3/3, pullImage. Verify: health 0.32.0 healthy; регрессия /session /inbox /board/digest /admin/status /graph/stats — 200. Батч только hooks/+package.json (серверный код не тронут).
2026-08-29 03:24:05 +03:00

37 lines
1.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# mappa — единый meta-сервис цеха (решения 1, 6, 17 спеки)
# Прод: VDS рядом с общей БД (postgres:16, отдельная база mappa, свой role — решение 1).
# HTTP-ядро + MCP-адаптер одним контейнером (dist). Endpoint: https://mappa.vds.kzntsv.site
# Deploy: Portainer-managed (см. portainer-stack-management-vds). Env через Portainer (не env_file).
services:
mappa:
image: registry.kzntsv.site/mappa:v0.32.0
container_name: mappa
restart: unless-stopped
mem_limit: 512m
networks:
- shared-dbs
- proxy
environment:
DATABASE_URL: postgres://mappa:${MAPPA_DB_PASS}@postgres:5432/mappa
MAPPA_GITEA_TOKEN: ${MAPPA_GITEA_TOKEN}
MAPPA_API_TOKEN: ${MAPPA_API_TOKEN}
healthcheck:
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:8731/health"]
interval: 15s
timeout: 5s
retries: 3
start_period: 10s
labels:
traefik.enable: "true"
traefik.http.routers.mappa.entrypoints: websecure
traefik.http.routers.mappa.rule: Host(`mappa.vds.kzntsv.site`)
traefik.http.routers.mappa.tls.certresolver: letsEncrypt
traefik.http.services.mappa.loadbalancer.server.port: "8731"
networks:
shared-dbs:
external: true
proxy:
external: true