🗝🎻
Go to file
2023-12-05 16:56:03 +03:00
.github/workflows OPS-268: Setups user in Dockerfile (#6) 2023-07-13 15:28:07 +03:00
apps/kds Don't break formatter 2023-12-05 16:56:03 +03:00
config TD-222: Sync with valitydev/erlang-templates@da1971c (#1) 2022-07-11 14:29:55 +03:00
doc CDS-92: Filter sensitive meta in logs (#7) 2019-07-16 17:13:26 +03:00
.editorconfig TD-222: Sync with valitydev/erlang-templates@da1971c (#1) 2022-07-11 14:29:55 +03:00
.env TD-222: Sync with valitydev/erlang-templates@da1971c (#1) 2022-07-11 14:29:55 +03:00
.gitignore TD-222: Sync with valitydev/erlang-templates@da1971c (#1) 2022-07-11 14:29:55 +03:00
CODEOWNERS TD-222: Sync with valitydev/erlang-templates@da1971c (#1) 2022-07-11 14:29:55 +03:00
Dockerfile TD-686: Adopts opentelemetry API (#7) 2023-10-27 12:43:02 +03:00
Dockerfile.dev TD-222: Sync with valitydev/erlang-templates@da1971c (#1) 2022-07-11 14:29:55 +03:00
elvis.config TD-222: Sync with valitydev/erlang-templates@da1971c (#1) 2022-07-11 14:29:55 +03:00
LICENSE Let's make it opensource (#15) 2019-09-20 00:12:35 +03:00
Makefile TD-222: Sync with valitydev/erlang-templates@da1971c (#1) 2022-07-11 14:29:55 +03:00
README.md TD-222: Sync with valitydev/erlang-templates@da1971c (#1) 2022-07-11 14:29:55 +03:00
rebar.config TD-686: Adopts opentelemetry API (#7) 2023-10-27 12:43:02 +03:00
rebar.lock TD-686: Adopts opentelemetry API (#7) 2023-10-27 12:43:02 +03:00

KDS

Keyring Distribution Service. Allows securely managing keyring and provide CDS with keyring secrets.

Building

To build the project, run the following command:

$ make compile

Running

To enter the Erlang shell with the project running, run the following command:

$ make rebar-shell

Development environment

Run in a docker container

You can run any of the tasks defined in the Makefile from inside of a docker container (defined in Dockerfile.dev) by prefixing the task name with wc-. To successfully build the dev container you need Docker BuildKit enabled. This can be accomplished by either installing docker-buildx locally, or exporting the DOCKER_BUILDKIT=1 environment variable.

Example

  • This command will run the compile task in a docker container:
$ make wc-compile

Run in a docker-compose environment

Similarly, you can run any of the tasks defined in the Makefile from inside of a docker-compose environment (defined in docker-compose.yaml) by prefixing the task name with wdeps-. To successfully build the dev container you need Docker BuildKit enabled (see Run in a docker container section). It may also be necessary to export a COMPOSE_DOCKER_CLI_BUILD=1 environment variable for docker-compose container builds to work properly.

Example

  • This command will run the test task in a docker-compose environment:
$ make wdeps-test

Documentation

@TODO Please write a couple of words about what your project does and how it does it.