fix: add health check to n8n

This commit is contained in:
Nicolas H 2024-07-17 23:05:48 +02:00
parent d9e4d64ee4
commit e67364be87
Signed by: administrateur
GPG Key ID: 6F1745736DC187CC
1 changed files with 5 additions and 0 deletions

View File

@ -72,6 +72,11 @@ services:
condition: service_healthy
postgres:
condition: service_healthy
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:5678']
interval: 30s
timeout: 10s
retries: 5
networks:
- web
- internet