You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/examples/nginx.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ In this example we will walk you through how you can deploy a Nginx containerize
11
11
12
12
## 1. `score.yaml`
13
13
14
-
Open your IDE and paste in the following `score.yaml` file, which describes a simple web server that queries a PostgreSQL database on each request and is exposed via a DNS. The demo code can be found [here](https://github.com/score-spec/sample-score-app).
14
+
Open your IDE and paste in the following `score.yaml` file, which describes a simple web server that is exposed via a DNS. The demo code can be found [here](https://github.com/mathieu-benoit/nginx-score-demo).
15
15
16
16
```yaml
17
17
apiVersion: score.dev/v1b1
@@ -93,7 +93,7 @@ The `init` command will create the `.score-compose` directory with the [default
93
93
score-compose provisioners list
94
94
```
95
95
96
-
The Score file example illustrated uses three resource types: `postgres`, `dns` and `route`.
96
+
The Score file example illustrated uses three resource types: `dns`, `route` and `volume`.
By using the [`--patch-templates`](/docs/score-implementation/score-compose/patch-templates/) (in this case: [`unprivileged.tpl`](https://github.com/score-spec/community-patchers/blob/main/score-compose/unprivileged.tpl)) we are also making sure that the generated workload will run as unprivileged.
115
+
114
116
### `generate`
115
117
116
118
Convert the `score.yaml` file into a runnable `compose.yaml`, run the following command in your terminal:
@@ -229,7 +231,7 @@ The `init` command will create the `.score-k8s` directory with the [default reso
229
231
score-k8s provisioners list
230
232
```
231
233
232
-
The Score file example illustrated uses three resource types: `postgres`, `dns` and `route`.
234
+
The Score file example illustrated uses three resource types: `dns`, `route` and `volume`.
By using the [`--patch-templates`](/docs/score-implementation/score-compose/patch-templates/) (in this case: [`unprivileged.tpl`](https://github.com/score-spec/community-patchers/blob/main/score-compose/unprivileged.tpl)) we are also making sure that the generated workload will run as unprivileged.
253
+
250
254
### `generate`
251
255
252
256
Convert the `score.yaml` file into a runnable `manifests.yaml`, run the following command in your terminal:
0 commit comments