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:
|
||||
app: mycelium-website
|
||||
spec:
|
||||
hostNetwork: true
|
||||
dnsPolicy: ClusterFirst
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- containerPort: 80
|
||||
hostPort: 80
|
||||
- containerPort: 8080
|
||||
hostPort: 8080
|
||||
volumeMounts:
|
||||
- name: html-content
|
||||
mountPath: /usr/share/nginx/html
|
||||
@@ -176,7 +175,7 @@ metadata:
|
||||
data:
|
||||
default.conf: |
|
||||
server {
|
||||
listen 80;
|
||||
listen 8080;
|
||||
server_name _;
|
||||
|
||||
location / {
|
||||
|
||||
Reference in New Issue
Block a user