Skip to content

Commit

Permalink
Merge pull request #23 from kubealex/visual-example
Browse files Browse the repository at this point in the history
making httpd examples more visual
  • Loading branch information
kubealex authored Jan 23, 2025
2 parents 9550db0 + 396866a commit 63a188a
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 4 deletions.
1 change: 0 additions & 1 deletion docs/use-cases/bootc-container-httpd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ On another terminal tab or in your browser, you can verify that the httpd server

```bash
~ ▓▒░ curl localhost:8080
Welcome to the bootc-http instance!
```

**Browser**
Expand Down
3 changes: 1 addition & 2 deletions docs/use-cases/bootc-container-upgrade/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ On another terminal tab or in your browser, you can verify that the httpd server
**Terminal**

```bash
~ ▓▒░ curl localhost:8080 ░▒▓ ✔ 11:59:44
Welcome to the bootc-http instance!
~ curl localhost:8080
```

**Browser**
Expand Down
2 changes: 1 addition & 1 deletion use-cases/bootc-container-httpd/Containerfile.httpd
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ RUN dnf -y install httpd && \
systemctl enable httpd && \
mv /var/www /usr/share/www && \
sed -ie 's,/var/www,/usr/share/www,' /etc/httpd/conf/httpd.conf
RUN echo "Welcome to the bootc-http instance!" > /usr/share/www/html/index.html
COPY files/index.html /usr/share/www/html/index.html
EXPOSE 80
11 changes: 11 additions & 0 deletions use-cases/bootc-container-httpd/files/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RHEL Image Mode Demo</title>
</head>
<body>
<p><strong>Welcome to this httpd instance in a RHEL Image mode system</strong></p>
</body>
</html>
11 changes: 11 additions & 0 deletions use-cases/bootc-container-upgrade/files/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RHEL Image Mode Demo</title>
</head>
<body>
<p><strong style="color: blue;"> Welcome to this httpd instance in a RHEL Image mode system<br>The system has been updated to use MariaDB</strong></p>
</body>
</html>

0 comments on commit 63a188a

Please sign in to comment.