fix: add health check to n8n
This commit is contained in:
parent
d9e4d64ee4
commit
e67364be87
|
@ -72,6 +72,11 @@ services:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
healthcheck:
|
||||||
|
test: ['CMD', 'curl', '-f', 'http://localhost:5678']
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 5
|
||||||
networks:
|
networks:
|
||||||
- web
|
- web
|
||||||
- internet
|
- internet
|
||||||
|
|
Loading…
Reference in New Issue