chore: standardize security and quality foundations
This commit is contained in:
@@ -60,4 +60,9 @@ USER magent:magent
|
||||
|
||||
EXPOSE 3000 8000
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=45s --retries=3 \
|
||||
CMD curl --fail --silent --show-error http://127.0.0.1:8000/health >/dev/null \
|
||||
&& curl --fail --silent --show-error http://127.0.0.1:3000/login >/dev/null \
|
||||
|| exit 1
|
||||
|
||||
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/magent.conf"]
|
||||
|
||||
Reference in New Issue
Block a user