/
e.poletaev
/
Injectify
Обзор
Документация
Войти
/
e.poletaev
/
Injectify
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
examples/postgresql/docker-compose.yml
27 строк
629 B
overloaded
fix: docker compose fixes
17 мар 2026, 09:19
17 мар 2026, 09:19
c7faa4f
Код
Авторство
О чём код?
services: api: build: context: ../.. dockerfile: examples/postgresql/Dockerfile ports: - "8000:8000" environment: DATABASE_URL: postgresql://user:password@postgres:5432/demo INJECTIFY_BASE_URL: http://localhost:8000 depends_on: postgres: condition: service_healthy postgres: image: postgres:15-alpine environment: POSTGRES_USER: user POSTGRES_PASSWORD: password POSTGRES_DB: demo ports: - "5432:5432" healthcheck: test: ["CMD-SHELL", "pg_isready -U user -d demo"] interval: 2s timeout: 5s retries: 5