diff --git a/README.md b/README.md index be4a769..54d52f9 100644 --- a/README.md +++ b/README.md @@ -14,11 +14,11 @@ cd quickstart-amqp-consuming-hello ``` - Install Docker [https://docs.docker.com/get-docker/](https://docs.docker.com/get-docker/) -- Add new version of docker-compose [https://docs.docker.com/compose/install/](https://docs.docker.com/compose/install/) +- Add new version of Docker Compose [https://docs.docker.com/compose/install/](https://docs.docker.com/compose/install/) - Spin-up single instance of RabbitMQ broker by running command: ``` -docker-compose -f docker-compose.dev.yml up -d +docker compose -f compose.yaml up -d ``` ### Running locally diff --git a/docker-compose.dev.yml b/compose.yaml similarity index 84% rename from docker-compose.dev.yml rename to compose.yaml index 5d3cd35..c1ce44e 100644 --- a/docker-compose.dev.yml +++ b/compose.yaml @@ -1,8 +1,8 @@ # This configuration is intended for dev purpose -version : '3.8' +name : dev-quickstart-amqp-consuming-hello services : rabbitmq : - container_name : quickstart-amqp-dev-consuming-hello-rabbitmq + container_name : dev-quickstart-amqp-consuming-hello-rabbitmq image : rabbitmq:management-alpine restart : unless-stopped environment : @@ -14,7 +14,7 @@ services : # HTTP management UI - '15672:15672' prometheus : - container_name : quickstart-amqp-dev-consuming-hello-prometheus + container_name : dev-quickstart-amqp-consuming-hello-prometheus image : prom/prometheus:v2.54.1 volumes : - ./src/main/docker/prometheus/:/etc/prometheus/ @@ -24,7 +24,7 @@ services : # docker/grafana/provisioning/datasources/datasource.yml network_mode : 'host' # to test locally running service grafana : - container_name : quickstart-amqp-dev-consuming-hello-grafana + container_name : dev-quickstart-amqp-consuming-hello-grafana image : grafana/grafana:11.2.0 volumes : - ./src/main/docker/grafana/provisioning/:/etc/grafana/provisioning/