reverted back to debian based container
parent
1a61c6593f
commit
0a9e9d3325
|
@ -1,2 +1,2 @@
|
|||
FROM nginx:alpine
|
||||
FROM nginx:latest
|
||||
COPY public /usr/share/nginx/html
|
||||
|
|
12
Makefile
12
Makefile
|
@ -1,17 +1,23 @@
|
|||
HEAD=$(shell git rev-parse --short HEAD)
|
||||
dev:
|
||||
hugo server -D
|
||||
static:
|
||||
hugo
|
||||
container:
|
||||
podman build -t docker.io/jmbitci/www-jmbit-de .
|
||||
podman build -t docker.io/jmbitci/www-jmbit-de:latest .
|
||||
podman build -t docker.io/jmbitci/www-jmbit-de:$(HEAD) .
|
||||
publish:
|
||||
podman push docker.io/jmbitci/www-jmbit-de
|
||||
podman push docker.io/jmbitci/www-jmbit-de:latest
|
||||
podman push docker.io/jmbitci/www-jmbit-de:$(HEAD)
|
||||
nopub: static container
|
||||
podman run --rm docker.io/jmbitci/www-jmbit-de
|
||||
podman run --rm -p8080:80 docker.io/jmbitci/www-jmbit-de
|
||||
|
||||
rollout:
|
||||
kubectl rollout restart deployment www-jmbit-de -n jmbit-web
|
||||
|
||||
clean:
|
||||
rm
|
||||
|
||||
all: static container publish
|
||||
|
||||
|
||||
|
|
|
@ -1,39 +0,0 @@
|
|||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: jmbit-web-ingress
|
||||
namespace: jmbit-web
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "traefik"
|
||||
cert-manager.io/issuer: letsencrypt-web
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||
spec:
|
||||
tls:
|
||||
- secretName: jmbit-web-cert
|
||||
hosts:
|
||||
- www.jmbit.de
|
||||
- jmbit.de
|
||||
rules:
|
||||
- host: www.jmbit.de
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: www-jmbit-de-service
|
||||
port:
|
||||
number: 80
|
||||
- host: jmbit.de
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: www-jmbit-de-service
|
||||
port:
|
||||
number: 80
|
||||
|
Loading…
Reference in New Issue