diff --git a/docker-compose.yaml b/docker-compose.yaml index 207e767..3e205c1 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -21,3 +21,15 @@ services: ports: - "8500:8500" - "8501:8501" + postgres: + image: postgres:latest + environment: + - POSTGRES_USER=postgres + - POSTGRES_PASSWORD=postgres + healthcheck: + test: ["CMD-SHELL", "pg_isready -U postgres"] + interval: 5s + timeout: 5s + retries: 5 + ports: + - "5432:5432"