You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
814 B
22 lines
814 B
# По умолчанию этот 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:
|
|
|