tyro / rabbit-amazon-bridge

A service that routes JSON messages back and forth between AWS and rabbitmq
Apache License 2.0
18 stars 6 forks source link

23 create docker release #49

Closed maccac closed 5 years ago

maccac commented 5 years ago

@martin-greber Can you take a look at this. It should enable deploys for the latest release and any tags being pushed.

The only thing I need to check into is documentation. What's the best way for us to provide arguments to docker run / docker compose to override the active profiles.

An initial script I've got so far is:

docker run -p 8080:8080 -v "$(pwd)"/src/test/resources:/app/extra-config --net rabbit-amazon-brid_default tyro/rabbit-amazon-bridge:23_create_docker_release --spring.profiles.active=docker-integration-test

It works, but I think 'Tyro' has a better way of doing this.