fix: Change nginx-mycelium deployment from hostNetwork to ClusterFirst and update ports to 8080

This commit is contained in:
mik-tf
2025-11-05 20:24:27 -05:00
parent 3dd96d036b
commit 7271107890

View File

@@ -14,14 +14,13 @@ spec:
labels: labels:
app: mycelium-website app: mycelium-website
spec: spec:
hostNetwork: true
dnsPolicy: ClusterFirst dnsPolicy: ClusterFirst
containers: containers:
- name: nginx - name: nginx
image: nginx:alpine image: nginx:alpine
ports: ports:
- containerPort: 80 - containerPort: 8080
hostPort: 80 hostPort: 8080
volumeMounts: volumeMounts:
- name: html-content - name: html-content
mountPath: /usr/share/nginx/html mountPath: /usr/share/nginx/html
@@ -176,7 +175,7 @@ metadata:
data: data:
default.conf: | default.conf: |
server { server {
listen 80; listen 8080;
server_name _; server_name _;
location / { location / {