Skip to content

Commit 3bf0d0a

Browse files
committed
Add the html directory for the compose example
[refs #7b0eb8948cd9]
1 parent 0605e1d commit 3bf0d0a

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

compose_example/html/assets/logo.png

8.82 KB
Loading

compose_example/html/css/style.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
body {
2+
width: 35em;
3+
margin: 0 auto;
4+
font-family: Tahoma, Verdana, Arial, sans-serif;
5+
text-align: center;
6+
}
7+
8+
img {
9+
display: block;
10+
margin-left: auto;
11+
margin-right: auto;
12+
}

compose_example/html/index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<link rel="stylesheet" type="text/css" href="css/style.css">
5+
<title>Welcome to nginx on Docker!</title>
6+
</head>
7+
<body>
8+
<h1>Welcome to nginx on Docker!</h1>
9+
<p>
10+
If you see this page, the nginx web server runs inside a Docker container!
11+
</p>
12+
<img src="assets/logo.png">
13+
</body>
14+
</html>

0 commit comments

Comments
 (0)