This document describes two things:
- the Docker production environment
- the Docker development environment used to build the amqp-e2e application
The docker-production
directory contains the Dockerfile
to build a production version of amqp-e2e from the abreits/amqp-e2e
github repository. It exposes a /amqp-e2e/config
for the configuration and a /amqp-e2e-log
volume for the log files.
The subdirectories control-example
and simple-example
contain a docker-compose.yml
example file that deploys a working start and endpoint on the same AMQP hub (not very useful, but works as an example).
For configuration documentation see:
Currently logging logs only to file, the winston logging system used supports multiple log formats and delivery modes, however currently the system must be rebuilt to support that.
Also loglevels are hardcoded for the moment, this must be configurable in the future.
To start developing:
- Clone the
abreits/amqp-e2e
project - Open the project in Visual Studio Code.
- Open a terminal.
- Start the Docker development container with
docker-compose up -d
- Build and tests with
CTRL-SHIFT-B
.
todo: describe project directory structure in detail