Skip to content

Commit c249004

Browse files
committed
examples
1 parent 77d4f20 commit c249004

File tree

4 files changed

+497
-2
lines changed

4 files changed

+497
-2
lines changed

examples/fpm-nginx-dhi-k8s/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
# PHP - Examples: PHP-FPM & NGINX & MySQL (using DHI) for K8s/Kubernetes
22

3+
(see also folder: `fpm-nginx-dhi`)
4+
35
## Steps:
46
1. ```kubectl apply -f namespace.yaml```
57
2. Registry Login (needed for DHI), see below.
68
3. Preparation:
79
* Change `ConfigMap` and `Secret` (Passwords) in `wsc-db.yaml` and `wsc-db.yaml`.
10+
* Set Domain/Host(s) in `Ingress` in `wsc-db.yaml` and set ssl-cert.
811
* Set `storageClassName` in `volumes.yaml`.
912
4. ```kubectl apply -f volumes.yaml```
1013
5. ```kubectl apply -f wsc-db.yaml```

examples/fpm-nginx-dhi-k8s/wsc-db.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ data:
3131

3232
---
3333

34+
# when you want using "data" instead "stringData" then ...
35+
# convert string to base64 in Linux: "echo -n 'value' | base64"
36+
3437
apiVersion: v1
3538
kind: Secret
3639
metadata:

0 commit comments

Comments
 (0)