Infrastructure(Local)¶
This is a document for building the RISKEN system on Docker Desktop (Mac) on a local machine.
Preparation¶
The following tools are required in advance:
- Install various CLI tools
Deploy RISKEN¶
Deploy using Manifest file¶
-
Run the following command to start RISKEN.
# clone git clone https://github.com/ca-risken/doc.git cd doc # run docker compose up -d
-
Access the local environment in a browser.
http://localhost/
AWS Scan¶
To scan the AWS environment, AWS authentication information is required. Scanning can be done by passing an AWS IAM user or STS temporary key through environment variables to RISKEN.
export AWS_ACCESS_KEY_ID=xxx
export AWS_SECRET_ACCESS_KEY=xxx
export AWS_SESSION_TOKEN=xxx
docker compose up -d
You can also set the AWS credentials in the .env
file.
Other services¶
By default, only some services are enabled.
- The following services are not started by default because credentials are required at startup:
- Set the required parameters, update the number of Pods to be started in the Manifest file to
1
or more.- For details on the parameters, refer to Parameters.
Delete created resources¶
- Delete the local environment resources with the make command.
docker compose down