ClickHouse/docker/test/integration/runner/compose/docker_compose_postgres.yml

20 lines
537 B
YAML
Raw Normal View History

version: '2.3'
services:
postgres1:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: mysecretpassword
ports:
2021-02-17 15:40:01 +00:00
- ${POSTGRES_EXTERNAL_PORT}:${POSTGRES_INTERNAL_PORT}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
2020-06-22 13:29:35 +00:00
networks:
default:
aliases:
- postgre-sql.local
2021-02-17 15:40:01 +00:00
environment:
POSTGRES_HOST_AUTH_METHOD: "trust"