sandbox/drawings/request_center/docker/compose.puml
2025-02-14 20:34:07 +03:00

38 lines
No EOL
731 B
Text
Raw Permalink 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.

@startuml
title: Compose контейнеры
component db [
<b>service: db</b>
===
container_name: rc_postgres
---
Контейнер для работы с
основной БД приложения
]
component test_db [
<b>service: test_db</b>
===
container_name: rc_postgres_test
---
Контейнер для работы с
тестовой БД.
Используется при запуске тестов
]
component backend [
<b>service: backend</b>
===
container_name: rc_backend
---
Контейнер для backend приложения
]
@enduml
from app.core.config import settings
settings.SQLALCHEMY_DATABASE_URI
settings.TESTING_ENV