Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ docker-compose version
```

#### Using prebuilt images
You can use prebuilt images generated by our CI workflow.
You can use prebuilt images generated by our CI workflow by downloading the docker-compose and .env files.

- To use the latest stable version.

- Linux Machine

```
curl -o docker-compose.yml https://raw.githubusercontent.com/OWASP/crAPI/main/deploy/docker/docker-compose.yml

curl -o .env https://raw.githubusercontent.com/OWASP/crAPI/main/deploy/docker/.env

docker-compose pull

Expand All @@ -37,18 +39,28 @@ You can use prebuilt images generated by our CI workflow.
```
curl.exe -o docker-compose.yml https://raw.githubusercontent.com/OWASP/crAPI/main/deploy/docker/docker-compose.yml

curl.exe -o .env https://raw.githubusercontent.com/OWASP/crAPI/main/deploy/docker/.env

docker-compose pull

docker-compose -f docker-compose.yml --compatibility up -d
```

To override server configurations, change the values of the variables present in the .env file or add the respective variables to the start of the docker-compose command.

```
LISTEN_IP="127.0.0.1" docker-compose -f docker-compose.yml --compatibility up -d
```

- To use the latest development version

- Linux Machine

```
curl -o docker-compose.yml https://raw.githubusercontent.com/OWASP/crAPI/develop/deploy/docker/docker-compose.yml

curl -o .env https://raw.githubusercontent.com/OWASP/crAPI/main/deploy/docker/.env

VERSION=develop docker-compose pull

VERSION=develop docker-compose -f docker-compose.yml --compatibility up -d
Expand All @@ -59,6 +71,8 @@ You can use prebuilt images generated by our CI workflow.
```
curl.exe -o docker-compose.yml https://raw.githubusercontent.com/OWASP/crAPI/develop/deploy/docker/docker-compose.yml

curl.exe -o .env https://raw.githubusercontent.com/OWASP/crAPI/main/deploy/docker/.env

set "VERSION=develop"

docker-compose pull
Expand Down
15 changes: 14 additions & 1 deletion docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ docker-compose version
```

### Using prebuilt images
You can use prebuilt images generated by our CI workflow.
You can use prebuilt images generated by our CI workflow by downloading the docker-compose and .env files.

#### Start crAPI
- To use the latest stable version.
Expand All @@ -21,6 +21,8 @@ You can use prebuilt images generated by our CI workflow.
```
curl -o docker-compose.yml https://raw.githubusercontent.com/OWASP/crAPI/main/deploy/docker/docker-compose.yml

curl -o .env https://raw.githubusercontent.com/OWASP/crAPI/main/deploy/docker/.env

docker-compose pull

docker-compose -f docker-compose.yml --compatibility up -d
Expand All @@ -31,10 +33,17 @@ You can use prebuilt images generated by our CI workflow.
```
curl.exe -o docker-compose.yml https://raw.githubusercontent.com/OWASP/crAPI/main/deploy/docker/docker-compose.yml

curl.exe -o .env https://raw.githubusercontent.com/OWASP/crAPI/main/deploy/docker/.env

docker-compose pull

docker-compose -f docker-compose.yml --compatibility up -d
```
To override server configurations, change the values of the variables present in the .env file or add the respective variables to the start of the docker-compose command.

```
LISTEN_IP="127.0.0.1" docker-compose -f docker-compose.yml --compatibility up -d
```

- To use the latest development version

Expand All @@ -43,6 +52,8 @@ You can use prebuilt images generated by our CI workflow.
```
curl -o docker-compose.yml https://raw.githubusercontent.com/OWASP/crAPI/develop/deploy/docker/docker-compose.yml

curl -o .env https://raw.githubusercontent.com/OWASP/crAPI/main/deploy/docker/.env

VERSION=develop docker-compose pull

VERSION=develop docker-compose -f docker-compose.yml --compatibility up -d
Expand All @@ -53,6 +64,8 @@ You can use prebuilt images generated by our CI workflow.
```
curl.exe -o docker-compose.yml https://raw.githubusercontent.com/OWASP/crAPI/develop/deploy/docker/docker-compose.yml

curl.exe -o .env https://raw.githubusercontent.com/OWASP/crAPI/main/deploy/docker/.env

set "VERSION=develop"

docker-compose pull
Expand Down