Skip to content

Commit

Permalink
Fixes #304 - Change default ports to use 8100 and 8200 inside of the …
Browse files Browse the repository at this point in the history
…image (#306)
  • Loading branch information
mnriem authored Dec 31, 2023
1 parent c421cc4 commit 8dd2e0f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions azure-keyvault/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ experience.
To run the simulator use the command line below:

```
docker run --rm -it -p 8100:8080 -p 8200:8443 ghcr.io/manorrock/ocelot-azure-keyvault
docker run --rm -it -p 8100:8100 -p 8200:8200 ghcr.io/manorrock/ocelot-azure-keyvault
```

## Validate the simulator is up and running
Expand Down Expand Up @@ -36,7 +36,7 @@ If you want to supply your own certificate instead of the generated one you
can mount the certificate directory.

```bash
docker run --rm -it -p 8100:8080 -p 8200:8443 \
docker run --rm -it -p 8100:8100 -p 8200:8200 \
-v $PWD/certs:/home/piranha/certs manorrock/ocelot-azure-keyvault
```

Expand Down
4 changes: 2 additions & 2 deletions azure-keyvault/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@
</build>
<run>
<ports>
<port>8100:8080</port>
<port>8200:8443</port>
<port>8100:8100</port>
<port>8200:8200</port>
</ports>
<volumes>
<bind>
Expand Down
2 changes: 1 addition & 1 deletion azure-keyvault/src/main/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/piranhacloud/webprofile:23.8.0
FROM ghcr.io/piranhacloud/webprofile:23.12.0
ADD target/ROOT.war /home/piranha
ADD src/main/docker/startup.sh /home/piranha
WORKDIR /home/piranha
Expand Down
2 changes: 1 addition & 1 deletion azure-keyvault/src/main/docker/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
#
# Run the application
#
java -jar piranha-dist-webprofile.jar --war-file ROOT.war --https-port 8443 --https-keystore-file certs/keystore --https-keystore-password password
java -jar piranha-dist-webprofile.jar --war-file ROOT.war --http-port 8100 --https-port 8200 --https-keystore-file certs/keystore --https-keystore-password password

0 comments on commit 8dd2e0f

Please sign in to comment.