added working Dockerfile and convenience Makefile
parent
117ab98235
commit
7cfe320794
|
@ -1 +1,2 @@
|
|||
*.swp
|
||||
public/
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
FROM nginx:latest
|
||||
COPY public/ /usr/lib/nginx/html/
|
||||
COPY public /usr/share/nginx/html
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
@ -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"
|
||||
|
|
|
@ -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
|
@ -0,0 +1 @@
|
|||
{"Target":"style.css","MediaType":"text/css","Data":{}}
|
Loading…
Reference in New Issue