mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-03-22 03:08:23 +00:00
docs(install): Add missing notes for Docker Compose installation (#10192)
Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> Co-authored-by: Pepe Fagoaga <pepe@prowler.com>
This commit is contained in:
18
README.md
18
README.md
@@ -148,21 +148,17 @@ Prowler App offers flexible installation methods tailored to various environment
|
|||||||
**Commands**
|
**Commands**
|
||||||
|
|
||||||
``` console
|
``` console
|
||||||
curl -LO https://raw.githubusercontent.com/prowler-cloud/prowler/refs/heads/master/docker-compose.yml
|
VERSION=$(curl -s https://api.github.com/repos/prowler-cloud/prowler/releases/latest | jq -r .tag_name)
|
||||||
curl -LO https://raw.githubusercontent.com/prowler-cloud/prowler/refs/heads/master/.env
|
curl -sLO "https://raw.githubusercontent.com/prowler-cloud/prowler/refs/tags/${VERSION}/docker-compose.yml"
|
||||||
|
# Environment variables can be customized in the .env file. Using default values in production environments is not recommended.
|
||||||
|
curl -sLO "https://raw.githubusercontent.com/prowler-cloud/prowler/refs/tags/${VERSION}/.env"
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
> Containers are built for `linux/amd64`.
|
> [!WARNING]
|
||||||
|
> 🔒 For a secure setup, the API auto-generates a unique key pair, `DJANGO_TOKEN_SIGNING_KEY` and `DJANGO_TOKEN_VERIFYING_KEY`, and stores it in `~/.config/prowler-api` (non-container) or the bound Docker volume in `_data/api` (container). Never commit or reuse static/default keys. To rotate keys, delete the stored key files and restart the API.
|
||||||
|
|
||||||
### Configuring Your Workstation for Prowler App
|
Once configured, access the Prowler App at http://localhost:3000. Sign up using your email and password to get started.
|
||||||
|
|
||||||
If your workstation's architecture is incompatible, you can resolve this by:
|
|
||||||
|
|
||||||
- **Setting the environment variable**: `DOCKER_DEFAULT_PLATFORM=linux/amd64`
|
|
||||||
- **Using the following flag in your Docker command**: `--platform linux/amd64`
|
|
||||||
|
|
||||||
> Once configured, access the Prowler App at http://localhost:3000. Sign up using your email and password to get started.
|
|
||||||
|
|
||||||
### Common Issues with Docker Pull Installation
|
### Common Issues with Docker Pull Installation
|
||||||
|
|
||||||
|
|||||||
@@ -23,9 +23,15 @@ Refer to the [Prowler App Tutorial](/user-guide/tutorials/prowler-app) for detai
|
|||||||
```bash
|
```bash
|
||||||
VERSION=$(curl -s https://api.github.com/repos/prowler-cloud/prowler/releases/latest | jq -r .tag_name)
|
VERSION=$(curl -s https://api.github.com/repos/prowler-cloud/prowler/releases/latest | jq -r .tag_name)
|
||||||
curl -sLO "https://raw.githubusercontent.com/prowler-cloud/prowler/refs/tags/${VERSION}/docker-compose.yml"
|
curl -sLO "https://raw.githubusercontent.com/prowler-cloud/prowler/refs/tags/${VERSION}/docker-compose.yml"
|
||||||
|
# Environment variables can be customized in the .env file. Using default values in production environments is not recommended.
|
||||||
curl -sLO "https://raw.githubusercontent.com/prowler-cloud/prowler/refs/tags/${VERSION}/.env"
|
curl -sLO "https://raw.githubusercontent.com/prowler-cloud/prowler/refs/tags/${VERSION}/.env"
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<Callout icon="lock" iconType="regular" color="#e74c3c">
|
||||||
|
For a secure setup, the API auto-generates a unique key pair, `DJANGO_TOKEN_SIGNING_KEY` and `DJANGO_TOKEN_VERIFYING_KEY`, and stores it in `~/.config/prowler-api` (non-container) or the bound Docker volume in `_data/api` (container). Never commit or reuse static/default keys. To rotate keys, delete the stored key files and restart the API.
|
||||||
|
</Callout>
|
||||||
|
|
||||||
</Tab>
|
</Tab>
|
||||||
<Tab title="GitHub">
|
<Tab title="GitHub">
|
||||||
_Requirements_:
|
_Requirements_:
|
||||||
|
|||||||
Reference in New Issue
Block a user