diff --git a/docs/guides/compose.md b/docs/guides/compose.md index d8dc659a..e0e68fe3 100644 --- a/docs/guides/compose.md +++ b/docs/guides/compose.md @@ -1,5 +1,5 @@ --- -sidebar_position: 6 +sidebar_position: 1 --- # Using Compose Files @@ -157,10 +157,21 @@ serve: In the above example, if the `USER` environment variable would be set to `joe`, any traffic to the `sample-project-core` service where the HTTP header `x-custom-header` is set to `user-joe` would be directed to your local machine. -## Cleaning Up +## Reset Sessions To stop all Consume and Serve sessions run the following command: ```sh czctl reset ``` + + + +## Cleaning Up + +To stop the Codezero Daemon, and remove any residual Networking components, run the following command: + +```sh +czctl cleanup +``` +This will restore your local `/etc/hosts` file to default state. \ No newline at end of file diff --git a/docs/guides/opa.md b/docs/guides/opa.md index a4d6fe22..fd59d3e0 100644 --- a/docs/guides/opa.md +++ b/docs/guides/opa.md @@ -1,5 +1,5 @@ --- -sidebar_position: 8 +sidebar_position: 3 --- # Managing Access via Open Policy Agent diff --git a/docs/guides/troubleshooting.md b/docs/guides/troubleshooting.md index 3c500e47..6b443899 100644 --- a/docs/guides/troubleshooting.md +++ b/docs/guides/troubleshooting.md @@ -1,5 +1,5 @@ --- -sidebar_position: 3 +sidebar_position: 5 --- # Troubleshooting