Docker image of the MADR template and log tool.
- Add the
activate
file in this repo to your project repo. - Add the following service to your docker-compose configuration, such as the
docker-compose.yml
file.
services:
madr:
image: drydockcloud/madr
user: ${UID_GID}
volumes:
- .:/src
- Pull the image:
docker-compose pull madr
- Activate the new commands:
. activate
- Initialize the files:
$ madr-init
$ ls docs/decisions/
0000-use-markdown-architectural-decision-records.md
index.md
template.md
Note that the UID_GID is set in the activate
file. This is to make the file permissions match the user when it creates the initial template when madr-init
is called.
- Use the log tool help:
adr-log -h
- Typical usage:
adr-log -d docs/decisions -i docs/decisions/index.md