🛠️ Format healthcheck commands for better readability in production Docker Compose file

This commit is contained in:
2026-01-29 06:33:09 +00:00
parent be3072dc75
commit 1799d4980a

View File

@@ -17,7 +17,15 @@ services:
networks: networks:
- pokedex-network - pokedex-network
healthcheck: healthcheck:
test: ['CMD', 'wget', '--quiet', '--tries=1', '--spider', 'http://localhost:80/'] test:
[
'CMD',
'wget',
'--quiet',
'--tries=1',
'--spider',
'http://localhost:80/'
]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3
@@ -50,7 +58,15 @@ services:
networks: networks:
- pokedex-network - pokedex-network
healthcheck: healthcheck:
test: ['CMD', 'wget', '--quiet', '--tries=1', '--spider', 'http://localhost:3000/health'] test:
[
'CMD',
'wget',
'--quiet',
'--tries=1',
'--spider',
'http://localhost:3000/health'
]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3