Skip to content
Snippets Groups Projects
Commit 27556780 authored by madavi's avatar madavi Committed by Gerrit Code Review
Browse files

Merge "LCM Dockerfile: run LCM as a module. Fix healthcheck timeouts"

parents 68d146fd 9f8b53b9
No related branches found
No related tags found
No related merge requests found
......@@ -115,9 +115,10 @@ ENV OSMLCM_MESSAGE_DRIVER kafka
ENV OSMLCM_MESSAGE_HOST kafka
ENV OSMLCM_MESSAGE_PORT 9092
HEALTHCHECK --interval=30s --timeout=140s --retries=1 \
CMD python3 /usr/lib/python3/dist-packages/osm_lcm/lcm.py --health-check || exit 1
HEALTHCHECK --start-period=120s --interval=30s --timeout=30s --retries=1 \
CMD python3 -m osm_lcm.lcm --health-check || exit 1
# Run app.py when the container launches
CMD ["python3", "/usr/lib/python3/dist-packages/osm_lcm/lcm.py"]
CMD python3 -m osm_lcm.lcm
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment