Initial commit
This commit is contained in:
10
kapitel13/13_2/docker-compose-v2.yml
Normal file
10
kapitel13/13_2/docker-compose-v2.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
|
||||
webbserver:
|
||||
restart: always
|
||||
image: httpd:2.4
|
||||
ports:
|
||||
- 5050:80
|
||||
volumes:
|
||||
- ${PWD}/min-hemsida:/usr/local/apache2/htdocs
|
8
kapitel13/13_2/docker-compose.yml
Normal file
8
kapitel13/13_2/docker-compose.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
|
||||
webbserver:
|
||||
restart: always
|
||||
image: httpd:2.4
|
||||
ports:
|
||||
- 5050:80
|
12
kapitel13/13_2/index.html
Normal file
12
kapitel13/13_2/index.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text/html; charset=utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Apache i en Docker-container</h1>
|
||||
<p>Min första hemsida som körs från en Docker-container!</p>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user