-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
128 lines (83 loc) · 2.64 KB
/
index.html
File metadata and controls
128 lines (83 loc) · 2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Docker DevOps Dashboard</title>
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<h1>🚀 Dockerized DevOps Application</h1>
<p class="intro">
This project demonstrates how a static web application can be containerized
using Docker and deployed using an Nginx web server. The application is packaged
inside a Docker container and exposed through port mapping to simulate a real deployment environment.
</p>
<h2 class="section-title">Technology Stack</h2>
<div class="tech">
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/docker/docker-original.svg">
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/nginx/nginx-original.svg">
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/html5/html5-original.svg">
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/css3/css3-original.svg">
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/javascript/javascript-original.svg">
</div>
<h2 class="section-title">Application Flow</h2>
<div class="flow">
<div class="flow-step">Developer</div>
<div class="arrow">→</div>
<div class="flow-step">Dockerfile</div>
<div class="arrow">→</div>
<div class="flow-step">Docker Image</div>
<div class="arrow">→</div>
<div class="flow-step">Container</div>
<div class="arrow">→</div>
<div class="flow-step">Browser</div>
</div>
<h2 class="section-title">Deployment Overview</h2>
<div class="container">
<div class="card">
<h3>Application Status</h3>
<p id="status" class="status"></p>
</div>
<div class="card">
<h3>Container Runtime</h3>
<p>Docker</p>
</div>
<div class="card">
<h3>Web Server</h3>
<p>Nginx</p>
</div>
<div class="card">
<h3>Container Port</h3>
<p>80</p>
</div>
<div class="card">
<h3>Host Port</h3>
<p>8080</p>
</div>
<div class="card">
<h3>Base Image</h3>
<p>nginx:latest</p>
</div>
</div>
<h2 class="section-title">How This Works</h2>
<div class="steps">
<div class="step">
<b>1. Dockerfile</b>
<p>The Dockerfile defines the container environment using the Nginx base image.</p>
</div>
<div class="step">
<b>2. Build Image</b>
<p>Docker builds an image that packages the web application and dependencies.</p>
</div>
<div class="step">
<b>3. Run Container</b>
<p>The image runs as a container in an isolated runtime environment.</p>
</div>
<div class="step">
<b>4. Port Mapping</b>
<p>The container port is mapped to the host so the application becomes accessible via browser.</p>
</div>
</div>
<script src="js/script.js"></script>
</body>
</html>