/
rustwizard
/
block_copy_command
Обзор
Документация
Войти
/
rustwizard
/
block_copy_command
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docker-compose.yml
27 строк
702 B
Rust Wizard
permit superuser to copy command and enable guc
07 мар 2026, 12:41
Верифицирован
07 мар 2026, 12:41
bf5e209
Код
Авторство
О чём код?
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=block_copy_command 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"]