fix: Change nginx-mycelium deployment from hostNetwork to ClusterFirst and update ports to 8080
This commit is contained in:
@@ -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 / {
|
||||||
|
|||||||
Reference in New Issue
Block a user