Commit 60eab9a1 authored by Tom Moulard's avatar Tom Moulard
Browse files

hits: fixing postgres healtcheck

parent afc3c715
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ services:
      - 'POSTGRES_USER=postgres'
      - 'POSTGRES_PASSWORD=postgres'
    healthcheck:
      test: ['CMD', 'pg_isready']
      test: ['CMD', 'pg_isready', '-U', 'postres']
      interval: 10s
      timeout: 10s
      retries: 5
+2 −0
Original line number Diff line number Diff line
@@ -241,6 +241,8 @@ services:
      test:
      - CMD
      - pg_isready
      - -U
      - postgres
      timeout: 10s
    image: postgres
    networks: