Compare commits

..

No commits in common. "0bc19e680841219cea7b4bd1737551afdf5c05e1" and "c28a3e5397ec404cb0bcf992af60e87acd94b019" have entirely different histories.

4 changed files with 0 additions and 38 deletions

View File

@ -1,2 +0,0 @@
FROM nginx:latest
COPY ./index.html /usr/share/nginx/html/index.html

View File

@ -1,14 +0,0 @@
# README
This is a practise repo for learning how to run nginx docker for serving:
* static content
* reverse proxy of other services
How to run nginx docker container:
```
docker-compose build
docker-compose up
```
* As we use docker-compose.yaml, it's easy to build image and spawn up container in this way

View File

@ -1,9 +0,0 @@
services:
web:
container_name: web
hostname: web
build:
context: ./
dockerfile: Dockerfile
ports:
- 8085:80

View File

@ -1,13 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Docker Nginx</title>
</head>
<body>
<h2>Hello from Nginx container, Again</h2>
</body>
</html>