/
rustwizard
/
pg_command_fw
Обзор
Документация
Войти
/
rustwizard
/
pg_command_fw
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docker-compose.yml
27 строк
697 B
Rust Wizard
add Docker-based CI with integration tests
29 мар 2026, 11:21
Верифицирован
29 мар 2026, 11:21
8123dc6
Код
Авторство
О чём код?
services: postgres: build: . environment: POSTGRES_PASSWORD: postgres POSTGRES_DB: testdb # Load the extension at startup so the hook is active for all connections command: postgres -c shared_preload_libraries=pg_command_fw healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 5s timeout: 5s retries: 10 test: image: postgres:17-trixie depends_on: postgres: condition: service_healthy environment: PGHOST: postgres PGUSER: postgres PGPASSWORD: postgres PGDATABASE: testdb volumes: - ./tests/docker/test.sh:/test.sh:ro entrypoint: ["/bin/bash", "/test.sh"]