Skip to content

Instantly share code, notes, and snippets.

@sabderemane
Last active November 9, 2019 12:25
Show Gist options
  • Save sabderemane/dc6f9b886bfc15714c33e30551cd2ae8 to your computer and use it in GitHub Desktop.
Save sabderemane/dc6f9b886bfc15714c33e30551cd2ae8 to your computer and use it in GitHub Desktop.
services:
image: postgres
env:
- POSTGRES_USER: postgres
- POSTGRES_PASSWORD: postgres
- POSTGRES_BD: postgres
ports:
- 5432/tcp
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment