Go to file
2024-08-06 17:47:33 +00:00
.github OPS-268: Setups user in Dockerfile (#31) 2023-07-05 13:51:04 +03:00
config Stop requiring exp claim when not needed (#7) 2022-02-21 11:54:47 +03:00
src OPS-413: Add blacklisting by user id in token for phony api keys (#38) 2023-12-15 14:50:53 +03:00
test OPS-413: Add blacklisting by user id in token for phony api keys (#38) 2023-12-15 14:50:53 +03:00
.editorconfig TD48: Update keeper (#5) 2022-02-10 18:17:14 +03:00
.env TD-400: Extract resource access (#26) 2022-10-03 11:44:41 +00:00
.gitignore TD48: Update keeper (#5) 2022-02-10 18:17:14 +03:00
compose.tracing.yaml Update jaegertracing/all-in-one Docker tag to v1.60 2024-08-06 17:47:33 +00:00
compose.yaml TD-686: Adopts opentelemetry API (#35) 2023-10-24 12:37:41 +03:00
Dockerfile OPS-268: Adds default logger permissions (#32) 2023-07-13 15:29:24 +03:00
Dockerfile.dev TD-222: Sync Dockerfiles w/ valitydev/erlang-templates (#25) 2022-07-08 17:57:15 +03:00
elvis.config TD48: Update keeper (#5) 2022-02-10 18:17:14 +03:00
LICENSE TD48: Update keeper (#5) 2022-02-10 18:17:14 +03:00
Makefile TD-686: Adopts opentelemetry API (#35) 2023-10-24 12:37:41 +03:00
README.md TD48: Update keeper (#5) 2022-02-10 18:17:14 +03:00
rebar.config OPS-413: Add blacklisting by user id in token for phony api keys (#38) 2023-12-15 14:50:53 +03:00
rebar.lock TD-686: Adopts opentelemetry API (#35) 2023-10-24 12:37:41 +03:00
renovate.json Add renovate.json (#2) 2022-02-21 14:56:54 +03:00

Token Keeper

GitHub branch checks state Codecov License

Access token authentication and management service.

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.