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.
19 lines
783 B
19 lines
783 B
# Опционально: изолированный Postgres на 5433, если не используете общий кластер из |
|
# ../Postgres_TG_Bots/docker-compose.dev.yml (сеть hr_postgres_dev_net, порт 5432). |
|
# Основной сценарий: поднять Postgres там, создать БД clinic_tests, в backend/.env задать DATABASE_URL |
|
# (см. backend/.env.example) — аналогично HR_TG_Bot (DATABASE_URL к hr_postgres_dev или localhost:5432). |
|
|
|
services: |
|
postgres: |
|
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:
|
|
|