Ghaymah intern
هذا الالتزام موجود في:
15
q1-deploy-monitor/Dockerfile
Normal file
15
q1-deploy-monitor/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
# Static site content
|
||||
COPY comingsoon/ /usr/share/nginx/html/
|
||||
|
||||
# Monitoring dashboard, served at /dashboard
|
||||
COPY dashboard/ /usr/share/nginx/html/dashboard/
|
||||
|
||||
# Custom server config: adds /health and /nginx_status
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
||||
CMD wget -qO- http://localhost/health || exit 1
|
||||
المرجع في مشكلة جديدة
حظر مستخدم