services: db: image: postgres:18.1 healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres -d tealfmbotdb"] interval: 10s retries: 5 start_period: 30s timeout: 10s restart: always environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: password POSTGRES_DB: tealfmbotdb ports: - 5432:5432