Serves the handyman site from the cluster instead of the Pi's dead nginx/registry/Garage stack. The 78 /photos/ paths the site requests are already baked into assets/portfolio/, so the image serves them via an nginx alias and the Garage bucket is no longer a runtime dependency. Image: forgejo.siriusdevops.com/sirius/phs-site:latest (public package).
14 lines
224 B
YAML
14 lines
224 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: piedmont-site
|
|
namespace: piedmont
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
app: piedmont-site
|
|
ports:
|
|
- name: http
|
|
port: 80
|
|
targetPort: 80
|
|
protocol: TCP
|