✨ feat(portals): complete custom domains and unified navigation

This commit is contained in:
Andrey committed 2026-07-29 16:49:50 +03:00
1 parent 2b246e193b
commit 3f07d76173
38 files changed
+1592 -596

No files matched your search

+26
View File
@@ -135,6 +135,32 @@ services:
redis:
condition: service_healthy
# Отдельный импорт демо-контента портала не создаёт пользователей и не
# изменяет пароли, роли, сессии или другие учётные данные.
support-portal-seed:
profiles: ["support-portal-seed"]
build:
context: .
dockerfile: apps/backend/Dockerfile
env_file:
- .env
command: ["python", "/opt/custocrm-local-seed/seed_support_portal.py"]
working_dir: /app/apps/backend
environment:
CUS_DB_ROLE: migration
CUSTOCRM_LOCAL_SEED: "1"
CUS_HELP_BASE_DOMAIN: localhost
CUS_HELP_PUBLIC_SCHEME: http
CUS_HELP_PUBLIC_PORT: ""
volumes:
- ./apps/backend:/app/apps/backend
- ./dev/local-seed:/opt/custocrm-local-seed:ro
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
# Dev: gateway — nginx с local.conf вместо Caddy (та же маршрутизация, HMR-friendly).
gateway:
image: nginx:1.27-alpine