Files
core/infra/mariadb/mariadb.env.example
Mikhail Chusavitin 0e72a1d284 Add production deployment: Dockerfile, docker-compose, deploy script
- Dockerfile: multi-stage build (golang:1.25-alpine → alpine:3.21), linux/amd64
- infra/mariadb: docker-compose + init SQL for reanimator DB/user
- infra/reanimator: docker-compose for reanimator-api (Gitea registry)
- deploy.sh: local build → push to git.mchus.pro → SSH deploy

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 14:00:54 +03:00

10 lines
388 B
Plaintext
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.
# Скопировать на сервер: /appdata/mariadb/mariadb.env
# Заменить все значения на реальные
MARIADB_ROOT_PASSWORD=changeme_root
# Пользователь для reanimator (должен совпадать с паролем в init/01_reanimator.sql)
MARIADB_USER=reanimator
MARIADB_PASSWORD=changeme_reanimator
MARIADB_DATABASE=reanimator