Skip to content

Commit a30747c

Browse files
authored
Merge branch 'permitio:master' into master
2 parents 6585173 + 54bca38 commit a30747c

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

documentation/docs/getting-started/quickstart/opal-playground/overview.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This tutorial will show you what you can do with **OPAL**, and teach you about *
55
We built an example configuration that you can run in **docker compose**. The example was built specifically for
66
you to **explore OPAL quickly**, understand the core features and see what OPAL can do for you.
77

8-
You can get a running OPAL environment by running one `docker-compose` command.
8+
You can get a running OPAL environment by running one `docker compose` command.
99

1010
Let's take OPAL for a swing!
1111

documentation/docs/getting-started/quickstart/opal-playground/run-server-and-client.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ git clone https://github.com/permitio/opal.git
1414
1515
cd opal
1616
17-
docker-compose -f docker/docker-compose-example.yml up
17+
docker compose -f docker/docker-compose-example.yml up
1818
```
1919

2020
The `docker-compose.yml` we just downloaded - [view the file here](https://github.com/permitio/opal/blob/master/docker/docker-compose-example.yml) - is **running 3 containers**:

documentation/docs/getting-started/running-opal/overview.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This tutorial will teach you how to run OPAL using the official docker images.
3131
</li>
3232
<li>
3333
Get a working playground with <strong>one</strong>{" "}
34-
<code>docker-compose</code> command.
34+
<code>docker compose</code> command.
3535
</li>
3636
<li>
3737
Want to <strong>learn</strong> about OPAL core features and see what

documentation/docs/overview/scopes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ API (`/scopes`)
1717
> #### Prerequisites
1818
>
1919
> Scopes are supported in OPAL 0.2.0 and above. Use the
20-
> [provided docker-compose example](https://github.com/permitio/opal/blob/master/docker/docker-compose-scopes-example.yml)
20+
> [provided docker compose example](https://github.com/permitio/opal/blob/master/docker/docker-compose-scopes-example.yml)
2121
> to quickly get started.
2222
>
2323
> The server must be started with the environment variable

documentation/docs/tutorials/cedar.mdx

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ Cedar agent is the easiest way to deploy and run Cedar.
88
Check out our [demo app that uses Cedar-Agent and OPAL here](https://github.com/permitio/tinytodo).
99
:::
1010

11-
OPAL can run Cedar instead of OPA. To launch an example configuration with Docker-Compose, do:
11+
OPAL can run Cedar instead of OPA. To launch an example configuration with Docker Compose, do:
1212
```
1313
git clone https://github.com/permitio/opal.git
1414
cd opal
15-
docker-compose -f docker/docker-compose-example-cedar.yml up -d
15+
docker compose -f docker/docker-compose-example-cedar.yml up -d
1616
```
1717

1818
You'll then have Cedar's dev web interface at [http://localhost:8180/rapidoc/](http://localhost:8180/rapidoc/), where you can call Cedar-Agent's API routes.
@@ -44,15 +44,15 @@ Then restore the correct policy:
4444
}
4545
]
4646
```
47-
Alternatively, you can also change the Docker-compose config and set your own policy git repo (the **OPAL_POLICY_REPO_URL** variable), and change it on the fly.
47+
Alternatively, you can also change the Docker compose config and set your own policy git repo (the **OPAL_POLICY_REPO_URL** variable), and change it on the fly.
4848

4949

5050
If you want to see OPAL's logs, you can do:
5151
```
52-
docker-compose -f docker/docker-compose-example-cedar.yml logs opal_server
52+
docker compose -f docker/docker-compose-example-cedar.yml logs opal_server
5353
```
5454
and
5555
```
56-
docker-compose -f docker/docker-compose-example-cedar.yml logs opal_client
56+
docker compose -f docker/docker-compose-example-cedar.yml logs opal_client
5757
```
5858
For the server and client, respectively.

0 commit comments

Comments
 (0)