This repository provides a Makefile for setting up a local development environment with MinIO and Vault.
To start the local development environment with default settings, simply run:
make .runThis command will:
- Start a MinIO server with a default bucket.
- Start a Vault server in development mode.
- Configure the Vault plugin with default parameters.
| Parameter | Default Value | Description |
|---|---|---|
PROJECT_NAME |
trdl-test-project1 |
The name of the project/bucket in MinIO. |
SIGNATURES_COUNT |
0 |
Number of required verified signatures. |
GIT_REPO_URL |
https://github.com/werf/trdl-test-project |
Git repository URL for TRDL metadata. |
GIT_TRDL_PATH |
p1/trdl.yaml |
Path to TRDL configuration in the repository. |
GIT_TRDL_CHANNELS_PATH |
p1/trdl_channels.yaml |
Path to TRDL channels configuration. |
You can override default values by passing them as arguments:
make .run PROJECT_NAME=my-custom-project SIGNATURES_COUNT=2 GIT_REPO_URL=https://github.com/example/repo GIT_TRDL_PATH=trdl.yaml GIT_TRDL_CHANNELS_PATH=trdl_channels.yamlThis will:
- Use
my-custom-projectas the bucket/project name. - Require
2verified signatures. - Set
GIT_REPO_URLtohttps://github.com/example/repo. - Set
GIT_TRDL_PATHto the path totrdl.yamlin yourGIT_REPO_URL - Set
GIT_TRDL_CHANNELS_PATHto the path totrdl_channels.yamlin yourGIT_REPO_URL
To remove all containers and clean up data, run:
make clean