ROMPR to the mac
This commit is contained in:
@@ -32,7 +32,7 @@ spec:
|
||||
name: http
|
||||
volumeMounts:
|
||||
- name: rompr-data
|
||||
mountPath: /var/www/localhost/htdocs
|
||||
mountPath: /rompr
|
||||
- name: rompr-lighttpd-config
|
||||
mountPath: /etc/lighttpd
|
||||
volumes:
|
||||
@@ -49,29 +49,15 @@ metadata:
|
||||
name: rompr
|
||||
spec:
|
||||
ports:
|
||||
- name: php-fpm
|
||||
port: 9000
|
||||
- name: http
|
||||
port: 80
|
||||
selector:
|
||||
app: rompr
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: rompr
|
||||
data:
|
||||
SCRIPT_FILENAME: "/rompr/index.php"
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: rompr
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
nginx.ingress.kubernetes.io/backend-protocol: "FCGI"
|
||||
nginx.ingress.kubernetes.io/fastcgi-index: "index.php"
|
||||
nginx.ingress.kubernetes.io/fastcgi-params-configmap: "rompr"
|
||||
spec:
|
||||
rules:
|
||||
- host: musik.lan
|
||||
@@ -79,7 +65,7 @@ spec:
|
||||
paths:
|
||||
- backend:
|
||||
serviceName: rompr
|
||||
servicePort: php-fpm
|
||||
servicePort: http
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
|
||||
Reference in New Issue
Block a user