Skip to content

Commit

Permalink
🔧 chore(deploy): add nginx healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertRosca committed Aug 4, 2023
1 parent cb4656d commit 1286d8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ services:
- "${PORT:-8000}:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/health"]

0 comments on commit 1286d8c

Please sign in to comment.