added working Dockerfile and convenience Makefile

gin
Johannes Bülow 2022-12-29 19:13:21 +01:00
parent 117ab98235
commit 7cfe320794
7 changed files with 25 additions and 6 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
*.swp
public/

View File

@ -1,2 +1,2 @@
FROM nginx:latest
COPY public/ /usr/lib/nginx/html/
COPY public /usr/share/nginx/html

14
Makefile Normal file
View File

@ -0,0 +1,14 @@
dev:
hugo server -D
static:
hugo
container:
podman build -t docker.io/jmbitci/www-jmbfountain-de .
publish:
podman push docker.io/jmbitci/www-jmbfountain-de
nopub: static container
podman run --rm docker.io/jmbitci/www-jmbfountain-de
all: static container publish

View File

@ -1,4 +1,4 @@
baseurl = "https://jmbit.de/"
baseurl = "https://www.jmbit.de/"
languageCode = "de-de"
theme = "hugo-theme-terminal"
paginate = 5
@ -30,11 +30,11 @@ paginate = 5
[[languages.en.menu.main]]
identifier = "about"
name = "Über mich"
url = "/about"
url = "/about/"
[[languages.en.menu.main]]
identifier = "Expertise"
name = "Expertise"
url = "/expertise"
url = "/expertise/"
[[languages.en.menu.main]]
identifier = "consulting"
name = "Consulting"

View File

@ -61,7 +61,7 @@ spec:
email: webmaster@jmbit.de # replace this
privateKeySecretRef:
name: letsencrypt-web-prod
server: https://acme-staging-v02.api.letsencrypt.org/directory
server: https://acme-v02.api.letsencrypt.org/directory
solvers:
- http01:
ingress:
@ -78,7 +78,7 @@ metadata:
cert-manager.io/issuer: letsencrypt-web-prod
spec:
tls:
- secretName: jmbit-web-cert
- secretName: jmbit-web-cert-prod
hosts:
- www.jmbit.de
- jmbit.de

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"Target":"style.css","MediaType":"text/css","Data":{}}