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: nginx-agent-docker/README.md
+18-19Lines changed: 18 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,14 @@
2
2
3
3
## Description
4
4
5
-
This repository can be used to build a docker image with NGINX Plus and NGINX Instance Manager Agent (https://docs.nginx.com/nginx-instance-manager/).
5
+
This repository can be used to build a docker image with NGINX (Plus or Opensource) and NGINX Instance Manager Agent (https://docs.nginx.com/nginx-instance-manager/).
6
6
7
7
## Tested releases
8
8
9
9
This repository has been tested with: NGINX agent for:
10
10
11
+
- NGINX Plus R29+
12
+
- NGINX Opensource 1.24.0+
11
13
- NGINX Agent 2.14+
12
14
- NGINX Instance Manager 2.15+
13
15
- NGINX App Protect WAF 4.100.1+
@@ -27,10 +29,9 @@ This repository has been tested with: NGINX agent for:
27
29
The install script can be used to build the Docker image:
28
30
29
31
```
30
-
$ ./scripts/build.sh
31
-
NGINX Plus & NGINX Instance Manager agent Docker image builder
2. For NGINX Plus only: get your license certificate and key to fetch NGINX Management Suite packages from NGINX repository
64
+
3.[Install](https://docs.nginx.com/nginx-management-suite/) and start NGINX Management Suite / NGINX Instance Manager. Skip this step if using the NGINX SaaS console
65
+
4. Build the Docker image using `./scripts/build.sh`
65
66
66
67
the build script will push the image to your private registry once build is complete.
67
68
68
-
- the `-w` flag can be used to include NGINX App Protect WAF support in the docker image
69
-
70
69
### Running the docker image on Kubernetes
71
70
72
71
1. Edit `manifests/1.nginx-nim.yaml` and specify the correct image by modifying the `image:` line, and set the following environment variables. Default values for `NIM_HOST` and `NIM_GRPC_PORT` can be used if NGINX Instance Manager is deployed using https://github.com/nginxinc/NGINX-Demos/tree/master/nginx-nms-docker
@@ -75,9 +74,9 @@ the build script will push the image to your private registry once build is comp
75
74
-`NIM_TOKEN` - NGINX One Cloud Console authentication token
76
75
-`NIM_INSTANCEGROUP` - instance group for the NGINX instance
77
76
-`NIM_TAGS` - comma separated list of tags for the NGINX instance
78
-
-`NIM_ADVANCED_METRICS` - set to `"true"` to enable advanced metrics collection
79
-
-`NAP_WAF` - set to `"true"` to enable NGINX App Protect WAF (docker image built using `-w`)
80
-
-`NAP_WAF_PRECOMPILED_POLICIES` - set to `"true"` to enable NGINX App Protect WAF precompiled policies (docker image built using `-w`)
77
+
-`NIM_ADVANCED_METRICS` - set to `"true"` to enable advanced metrics collection - NGINX Plus only
78
+
-`NAP_WAF` - set to `"true"` to enable NGINX App Protect WAF (docker image built using `-w`) - NGINX Plus only
79
+
-`NAP_WAF_PRECOMPILED_POLICIES` - set to `"true"` to enable NGINX App Protect WAF precompiled policies (docker image built using `-w`) - NGINX Plus only
81
80
-`AGENT_LOGLEVEL` - NGINX Agent loglevel, optional. If not specified defaults to `info`
0 commit comments