Skip to content

Commit

Permalink
Turn on authentication of core APIs by default in Docker images using…
Browse files Browse the repository at this point in the history
… the username 'admin' and password 'admin'. #312 (#561)

Signed-off-by: David Venable <[email protected]>
  • Loading branch information
dlvenable authored Nov 10, 2021
1 parent 3e931c5 commit 52e0468
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 5 additions & 5 deletions release/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Below is an example command which can also be used to run the built image.
```
docker run \
--name data-prepper-test \
--expose 21890 \
-v /workplace/github/simple-ingest-transformation-utility-pipeline/examples/config/example-pipelines.yaml:/usr/share/data-prepper/pipelines.yaml \
-v /workplace/github/simple-ingest-transformation-utility-pipeline/examples/config/example-data-prepper-config.yaml:/usr/share/data-prepper/data-prepper-config.yaml \
data-prepper/data-prepper:1.0.0
```
-p 21890:21890 -p 4900 \
-v ${PWD}/examples/config/example-pipelines.yaml:/usr/share/data-prepper/pipelines.yaml \
-v ${PWD}/examples/config/example-data-prepper-config.yaml:/usr/share/data-prepper/data-prepper-config.yaml \
opensearch-data-prepper:1.2.0-SNAPSHOT
```
6 changes: 5 additions & 1 deletion release/docker/config/default-data-prepper-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ keyStoreFilePath: "/usr/share/data-prepper/keystore.p12"
keyStorePassword: "password"
privateKeyPassword: "password"
serverPort: 4900
metricRegistries: [Prometheus]
metricRegistries: [Prometheus]
authentication:
http_basic:
username: admin
password: admin

0 comments on commit 52e0468

Please sign in to comment.