Skip to content

Commit 3407d3a

Browse files
authored
Update README.md
1 parent ed40fbc commit 3407d3a

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

examples/config/docker/README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
11
### Start the exporter with default settings
22

3-
The application executes with the default numner of worker processes (2) and with the SSL warning enabled
3+
The application executes with the default number of worker processes (1) and with the SSL warning enabled
44

55
```shell
66

77
docker run -d -p 9491:9491 --rm --name pure-exporter pure-fa-ome:<version>
88
```
99

10-
### Start the exporter with specific Gunicorn parameters
10+
### Start the exporter with specific Sanic parameters
1111

12-
Specific Gunicorn parmeters can be passed to the application in the docker command line
12+
Specific Sanic parmeters can be passed to the application in the docker command line
1313

1414
```shell
15-
docker run -d -p 9491:9491 --rm --name pure-exporter pure-fa-ome:<version> --workers=<n_workers> --access-logfile=- --error-logfile=-
15+
docker run -d -p 9491:9491 --rm --name pure-exporter pure-fa-ome:<version> --workers=<n_workers> --host 0.0.0.0 --port 9491
1616
```
1717

1818
### Disable SSL warning
1919

20-
If you want to prevent the app from logging a warning when the FB endpoint is not provided with a trusted SSL certificate, you can disable that by invoking the Flask app with the <kbd>disable_ssl_warn=True</kbd> parameter
21-
20+
If you want to prevent the app from logging a warning when the FA endpoint is not provided with a trusted SSL certificate, you can disable that by invoking the app with the <kbd>--disable-cert-warning</kbd> flag
2221
```shell
23-
docker run -d -p 9491:9491 --rm --name pure-exporter pure-fa-ome:<version> 'pure_fa_exporter:create_app(disable_ssl_warn=True)'
24-
```
22+
docker run -d -p 9491:9491 --rm --name pure-exporter pure-fa-ome:<version> --disable-cert-warning

0 commit comments

Comments
 (0)