Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RabbitMQ dashboard #147

Merged
merged 13 commits into from
Oct 30, 2022
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,8 @@ Following urls are accessible after the project is successfully started.
| [http://localhost/](http://localhost/) | The application. |
| [http://localhost:8081/](http://localhost:8081/) | MySQL management interface. |
| [http://localhost:8082/](http://localhost:8082/) | Redis management interface. |
| [http://localhost:8083/](http://localhost:8083/) | RabbitMq management interface. |
| [http://localhost:8084/](http://localhost:8084/) | Traefik management interface. |
| [http://localhost:8085/](http://localhost:8085/) | Grafana management interface. |
| [http://localhost:8083/](http://localhost:8083/) | Traefik management interface. |
| [http://localhost:8084/](http://localhost:8084/) | Grafana management interface. |

### Production

Expand Down
6 changes: 5 additions & 1 deletion docker-compose.production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ services:
hostname: rabbit-mq
volumes:
- rabbit-mq:/var/lib/rabbitmq/mnesia
labels:
- "prometheus-job=rabbitmq"
- "prometheus-port=15692"
- "prometheus-path=/metrics/per-object"
restart: on-failure
nchan:
image: marein/php-gaming-website:nchan
Expand All @@ -68,7 +72,7 @@ services:
GF_AUTH_ANONYMOUS_ENABLED: 1
GF_AUTH_ANONYMOUS_ORG_ROLE: Admin
ports:
- "8085:3000"
- "8084:3000"
prometheus:
image: marein/php-gaming-website:prometheus
restart: on-failure
Expand Down
10 changes: 6 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ services:
- --providers.docker.exposedbydefault=false
ports:
- "80:80"
- "8084:8080"
- "8083:8080"
depends_on:
- nchan
- service-js-polyfill
Expand All @@ -51,7 +51,7 @@ services:
GF_AUTH_ANONYMOUS_ENABLED: 1
GF_AUTH_ANONYMOUS_ORG_ROLE: Admin
ports:
- "8085:3000"
- "8084:3000"
volumes:
- ./docker/grafana/provisioning:/etc/grafana/provisioning
- ./docker/grafana/dashboards:/var/lib/grafana/dashboards
Expand Down Expand Up @@ -94,10 +94,12 @@ services:
context: .
dockerfile: ./docker/rabbit-mq/Dockerfile
hostname: rabbit-mq
ports:
- "8083:15672"
volumes:
- rabbit-mq:/var/lib/rabbitmq/mnesia
labels:
- "prometheus-job=rabbitmq"
- "prometheus-port=15692"
- "prometheus-path=/metrics/per-object"
restart: on-failure
nchan:
build:
Expand Down
Loading