change db
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-02-08 01:53:04 +03:00
parent 9d34deb77d
commit 990a6fe918
5 changed files with 10 additions and 106 deletions

View File

@ -1,22 +1,8 @@
version: '3.8'
services:
postgres:
image: postgres:16-alpine
container_name: team-planner-db
environment:
POSTGRES_USER: teamplanner
POSTGRES_PASSWORD: teamplanner
POSTGRES_DB: teamplanner
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U teamplanner"]
interval: 5s
timeout: 5s
retries: 5
volumes:
postgres_data:
# PostgreSQL предоставляется shared dev-инстансом на сервере (10.10.10.100:30432)
# Для подключения используйте переменные из .env:
# DB_HOST=10.10.10.100
# DB_PORT=30432
#
# Этот файл оставлен для возможного добавления других локальных сервисов.