Files
TestingWebApp/docker-compose.yml
T
2026-04-24 20:33:14 +05:00

23 lines
814 B
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.
# По умолчанию этот compose ничего не поднимает — используется ОБЩИЙ Postgres из
# ../Postgres_TG_Bots/docker-compose.dev.yml (порт 5432 на хосте, сеть hr_postgres_dev_net).
# В backend/.env: DATABASE_URL=...localhost:5432/clinic_tests (см. backend/.env.example).
#
# Только если общий кластер не нужен, изолированный Postgres (порт 5433):
# docker compose --profile standalone up -d
services:
postgres:
profiles: ["standalone"]
image: postgres:15
environment:
POSTGRES_DB: clinic_tests
POSTGRES_USER: developer
POSTGRES_PASSWORD: dev_password
ports:
- "5433:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
volumes:
postgres_data: