Skip to content

Fix Grafana port mapping in docker-compose.yml#496

Closed
Copilot wants to merge 2 commits intomainfrom
copilot/fix-port-mapping-docker-compose
Closed

Fix Grafana port mapping in docker-compose.yml#496
Copilot wants to merge 2 commits intomainfrom
copilot/fix-port-mapping-docker-compose

Conversation

Copy link
Copy Markdown

Copilot AI commented Nov 8, 2025

Grafana listens on port 3000 by default, but the docker-compose configuration was mapping 3030:3030, making the service inaccessible.

Changes

  • docker-compose.yml: Updated grafana-server port mapping from 3030:3030 to 3030:3000
  • README.md: Updated Grafana URL from http://localhost:3000 to http://localhost:3030
# Before
grafana-server:
  ports:
    - 3030:3030

# After  
grafana-server:
  ports:
    - 3030:3000

Grafana is now accessible at http://localhost:3030 when running via docker-compose.

Original prompt

This section details on the original issue you should resolve

<issue_title>Wrong port mapping on docker-compose.yml</issue_title>
<issue_description>Hi!,

There is a small problem on docker-compose.yml. grafana-service maps ports 3030 to 3030, but the the server is listening on port 3000. So, it should be:

ports:
    - 3030:3000

Regards!</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Nov 8, 2025

Copilot AI changed the title [WIP] Fix wrong port mapping in docker-compose.yml Fix Grafana port mapping in docker-compose.yml Nov 8, 2025
Copilot AI requested a review from arey November 8, 2025 18:39
@arey
Copy link
Copy Markdown
Member

arey commented Nov 8, 2025

@copilot I'll prefer you keep the grafana default port 3030:3000

memory: 256M
ports:
- 3030:3030
- 3030:3000
Copy link
Copy Markdown
Member

@arey arey Nov 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion @copilot prefer using the grafana default port in every cases 3000:3000

@arey arey closed this Nov 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong port mapping on docker-compose.yml

2 participants