services: postgres: image: postgres:16-alpine environment: POSTGRES_USER: flockpal_test POSTGRES_PASSWORD: isolated_test_password POSTGRES_DB: flockpal_weight_test ports: - '127.0.0.1:25432:5432' tmpfs: - /var/lib/postgresql/data healthcheck: test: ['CMD-SHELL', 'pg_isready -U flockpal_test -d flockpal_weight_test'] interval: 1s timeout: 3s retries: 30 redis: image: redis:7-alpine command: ['redis-server', '--save', '', '--appendonly', 'no'] ports: - '127.0.0.1:26379:6379' mail: image: axllent/mailpit:latest ports: - '127.0.0.1:21025:1025' - '127.0.0.1:28025:8025'