testirovanie-robot/deploy/compose.yml
Peppa f06fd50865
All checks were successful
peppa/lint lint: success за 0с
peppa/typecheck typecheck: success за 0с
peppa/test test: success за 1с
peppa/build build: success за 0с
ci / checks (pull_request) Successful in 9s
deploy / deploy (pull_request) Successful in 12s
TR-1: окно входа — страница входа, проверка логина и пароля, страница после входа
Каркас на Node.js + TypeScript, тексты на трёх языках, проверки и деплой.
OpenSpec change tr-1-login-window (в архиве).

Rebase на main с принятой TR-2: список пользователей (data/users.json, scrypt)
и блокировка 5 ошибок / 15 минут перенесены в src/users.ts и src/auth.ts,
единственная учётная запись из настроек и пробный вход убраны.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 11:14:49 +05:00

29 lines
1.4 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.

# Стенд проекта Пеппы (PEP-57). Деплой: docker compose -p <slug>-<env> -f deploy/compose.yml up -d
# с переменными IMAGE (образ peppa/<slug>:<sha>), HOST, ROUTER, APP_PORT — их задаёт
# .gitea/peppa-deploy.sh. Сервис и порт — .peppa/project.json → deploy.service / deploy.port.
# Секреты приложения — в secrets Actions репозитория, сюда только через environment.
services:
web:
image: ${IMAGE}
restart: unless-stopped
environment:
PORT: "${APP_PORT:-3000}"
APP_HOST: "${HOST:-}"
# Ключ подписи отметки о входе; без него после перезапуска нужно войти заново.
SESSION_SECRET: "${SESSION_SECRET:-}"
# Ошибки продукта: без SENTRY_DSN отправка выключена; release — образ с SHA деплоя.
SENTRY_DSN: "${SENTRY_DSN:-}"
SENTRY_RELEASE: "${SENTRY_RELEASE:-${IMAGE}}"
SENTRY_ENVIRONMENT: "${SENTRY_ENVIRONMENT:-}"
networks:
- traefik_default
labels:
- traefik.enable=true
- traefik.docker.network=traefik_default
- traefik.http.routers.${ROUTER}.rule=Host(`${HOST}`)
- traefik.http.routers.${ROUTER}.entrypoints=web
- traefik.http.services.${ROUTER}.loadbalancer.server.port=${APP_PORT:-3000}
networks:
traefik_default:
external: true