Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
killenheladagen authored Apr 15, 2024
1 parent be7e9f0 commit 848c82e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Enable TLS:

```sh
curl -s --anyauth -u "root:$DEVICE_PASSWORD" \
"http://$DEVICE_IP/axis-cgi/param.cgi?action=update&root.dockerdwrapper.UseTLS=yes"
"http://$DEVICE_IP/axis-cgi/param.cgi?action=update&root.dockerdwrapperwithcompose.UseTLS=yes"
```

Enable TCP Socket:
Expand Down Expand Up @@ -129,25 +129,25 @@ The files can be uploaded to the device using HTTP.

```sh
curl --anyauth -u "root:$DEVICE_PASSWORD" -F [email protected] -X POST \
http://$DEVICE_IP/local/dockerdwrapper/ca.pem
http://$DEVICE_IP/local/dockerdwrapperwithcompose/ca.pem
curl --anyauth -u "root:$DEVICE_PASSWORD" -F [email protected] -X POST \
http://$DEVICE_IP/local/dockerdwrapper/server-cert.pem
http://$DEVICE_IP/local/dockerdwrapperwithcompose/server-cert.pem
curl --anyauth -u "root:$DEVICE_PASSWORD" -F [email protected] -X POST \
http://$DEVICE_IP/local/dockerdwrapper/server-key.pem
http://$DEVICE_IP/local/dockerdwrapperwithcompose/server-key.pem
```

If desired, they can be deleted from the device using:

```sh
curl --anyauth -u "root:$DEVICE_PASSWORD" -X DELETE \
http://$DEVICE_IP/local/dockerdwrapper/ca.pem
http://$DEVICE_IP/local/dockerdwrapperwithcompose/ca.pem
curl --anyauth -u "root:$DEVICE_PASSWORD" -X DELETE \
http://$DEVICE_IP/local/dockerdwrapper/server-cert.pem
http://$DEVICE_IP/local/dockerdwrapperwithcompose/server-cert.pem
curl --anyauth -u "root:$DEVICE_PASSWORD" -X DELETE \
http://$DEVICE_IP/local/dockerdwrapper/server-key.pem
http://$DEVICE_IP/local/dockerdwrapperwithcompose/server-key.pem
```

They can also be copied to the `/usr/local/packages/dockerdwrapper/localdata`
They can also be copied to the `/usr/local/packages/dockerdwrapperwithcompose/localdata`
directory of the device using `scp`.

```sh
Expand Down

0 comments on commit 848c82e

Please sign in to comment.