Switch to nginx server #8
@ -12,4 +12,3 @@ HEALTHCHECK --interval=15s --timeout=3s \
|
|||||||
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
|
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
|
||||||
COPY --from=builder src/public /usr/share/nignx/html/
|
COPY --from=builder src/public /usr/share/nignx/html/
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
COPY nginx.conf /etc/nginx/nginx.conf
|
||||||
|
|
||||||
|
30
README.md
30
README.md
@ -1,6 +1,28 @@
|
|||||||
![logo](https://raw.githubusercontent.com/OCram85/Blog/master/assets/img/logo_square.png)
|
<p align="center">
|
||||||
|
<a href="https://getdoks.org/">
|
||||||
|
<img src="https://raw.githubusercontent.com/OCram85/Blog/master/assets/img/logo_square.png" alt="OCram85.com Logo" width="300" height="300">
|
||||||
|
<a>
|
||||||
|
</p>
|
||||||
|
|
||||||
> A personal blog about PowerShell, Automation and more.
|
<h1 align="center">
|
||||||
|
OCram85.com
|
||||||
|
</h1>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
A personal blog about PowerShell, Automation and more.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<a href="https://github.com/OCram85/Blog">
|
||||||
|
<img src="https://img.shields.io/github/license/OCram85/Blog" alt="Project License">
|
||||||
|
</a>
|
||||||
|
<a href="https://cloud.drone.io/OCram85/Blog">
|
||||||
|
<img src="https://cloud.drone.io/api/badges/OCram85/Blog/status.svg" alt="Drone.IO Build">
|
||||||
|
</a>
|
||||||
|
<a href="https://hub.docker.com/r/ocram85/blog/tags">
|
||||||
|
<img src="https://img.shields.io/docker/image-size/ocram85/blog/latest" alt="Docker Image Tags">
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
## Tags
|
## Tags
|
||||||
|
|
||||||
@ -11,6 +33,6 @@
|
|||||||
|
|
||||||
## Content
|
## Content
|
||||||
|
|
||||||
This image contains the hugo based sources for my personal blog. It's made with the [Congo theme](https://github.com/jpanther/congo). The static pages are served by the included caddy server with a custom config. The custom config is needed to redirect 404 errors to a custom page.
|
This image contains the hugo based sources for my personal blog. It's made with the [Congo theme](https://github.com/jpanther/congo). The static pages are served by the included nginx server with a custom config. The custom config is needed to redirect 404 errors to a custom page.
|
||||||
|
|
||||||
You can simply run the container with `docker run -it --rm -p "8080:8080" ocram85/blog:latest`
|
You can simply run the container with `docker run -it --rm -p "8080:80" ocram85/blog:latest`
|
||||||
|
Loading…
Reference in New Issue
Block a user