Skip to content

Commit

Permalink
feat: rename docker-compose.dev.yml to compose.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriidenisenko committed Sep 30, 2024
1 parent 73b62f9 commit ac9d1ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.dev.yml → compose.yaml
Original file line number Diff line number Diff line change
@@ -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 :
Expand All @@ -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/
Expand All @@ -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/
Expand Down

0 comments on commit ac9d1ee

Please sign in to comment.