moving ports
This commit is contained in:
@@ -205,8 +205,10 @@ services:
|
|||||||
- /data/swag:/config
|
- /data/swag:/config
|
||||||
- /data/cloudflare/cloudflare.ini:/config/dns-conf/cloudflare.ini
|
- /data/cloudflare/cloudflare.ini:/config/dns-conf/cloudflare.ini
|
||||||
ports:
|
ports:
|
||||||
- 0.0.0.0:80:80
|
# - 0.0.0.0:80:80
|
||||||
- 0.0.0.0:443:443
|
# - 0.0.0.0:443:443
|
||||||
|
- 0.0.0.0:7080:80
|
||||||
|
- 0.0.0.0:70443:443
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- host.docker.internal:host-gateway
|
- host.docker.internal:host-gateway
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
24
kubernetes/ingress-nodeport.yml
Normal file
24
kubernetes/ingress-nodeport.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: my-ingress-nginx-controller
|
||||||
|
namespace: ingress-nginx
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- appProtocol: http
|
||||||
|
name: http
|
||||||
|
nodePort: 80
|
||||||
|
port: 80
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: http
|
||||||
|
- appProtocol: https
|
||||||
|
name: https
|
||||||
|
nodePort: 443
|
||||||
|
port: 443
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: https
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/component: controller
|
||||||
|
app.kubernetes.io/instance: ingress-nginx
|
||||||
|
app.kubernetes.io/name: ingress-nginx
|
||||||
|
type: NodePort
|
||||||
Reference in New Issue
Block a user