10 lines
321 B
YAML
10 lines
321 B
YAML
services:
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
environment: { POSTGRES_USER: lib, POSTGRES_PASSWORD: lib, POSTGRES_DB: lib }
|
|
ports: ["5433:5432"]
|
|
healthcheck: { test: ["CMD-SHELL", "pg_isready -U lib"], interval: 2s, timeout: 2s, retries: 30 }
|
|
redis:
|
|
image: redis:7-alpine
|
|
ports: ["6380:6379"]
|