mirror of
https://github.com/hanzoai/pack.git
synced 2026-09-30 23:43:13 +00:00
* test: add docker-compose where postgres is required * test: http checks where postgres is required * test: run docker-compose services if they exist in an example project * test: remove justBuild from django test * test: snapshot update * fix: add PORT with default to django gunicorn start command * test: add bin/rails * test: update rails with postgres test to have a valid root route * docs: integration test documentation
13 lines
307 B
YAML
13 lines
307 B
YAML
services:
|
|
postgres:
|
|
image: postgres:17-alpine
|
|
environment:
|
|
POSTGRES_DB: rails_db
|
|
POSTGRES_USER: rails_user
|
|
POSTGRES_PASSWORD: rails_password
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U rails_user -d rails_db"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 10
|