Skip to content

Commit

Permalink
updated compose files page
Browse files Browse the repository at this point in the history
  • Loading branch information
jcpoyser committed Oct 30, 2024
1 parent 1804f06 commit 2e51e6c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
15 changes: 13 additions & 2 deletions docs/guides/compose.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 6
sidebar_position: 1
---

# Using Compose Files
Expand Down Expand Up @@ -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.
2 changes: 1 addition & 1 deletion docs/guides/opa.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 8
sidebar_position: 3
---

# Managing Access via Open Policy Agent
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/troubleshooting.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 3
sidebar_position: 5
---

# Troubleshooting
Expand Down

0 comments on commit 2e51e6c

Please sign in to comment.