service-db:
healthcheck:
test: ["CMD-SHELL", "pg_isready", "--quiet"]
interval: 1s
timeout: 5s
retries: 10
service:
depends_on:
service-db:
condition: service_healthy
*.corp.domain.ru
будет работать для server1.corp.domain.ru, server2.corp.domain.ru и т. д. If the wildcard character is the only character of the left-most
label in the presented identifier, the client SHOULD NOT compare
against anything but the left-most label of the reference
identifier (e.g., *.example.com would match foo.example.com but
not bar.foo.example.com or example.com).