Harrolee / drive-gooder

don't read and drive
Other
0 stars 0 forks source link

container v0.0.4 fails health check #8

Closed Harrolee closed 7 months ago

Harrolee commented 7 months ago

The result is that the instance is continuously shutdown and restarted.


Logs from the ECS task suggest that the container does not receive a healthcheck at all

Harrolee commented 7 months ago

from ECS health check docs:

The health check commands run on the container. Therefore you must include the commands in the container image.

The health check connects to the application through the container's loopback interface at localhost or 127.0.0.1. An exit code of 0 indicates success, and non-zero exit code indicates failure.

I didn't add a command to the container image...