Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. name: myworkflow
  2.  
  3. on: [push]
  4.  
  5. jobs:
  6. build:
  7. runs-on: ubuntu-latest
  8.  
  9. services:
  10. postgres:
  11. image: postgres:11
  12. env:
  13. POSTGRES_USER: postgres
  14. POSTGRES_PASSWORD: ""
  15. POSTGRES_DB: postgres
  16. ports:
  17. - 5432/tcp
  18. # needed because the postgres container does not provide a healthcheck
  19. options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement