dosubot[bot] commented on issue #7927:
URL:
https://github.com/apache/incubator-devlake/issues/7927#issuecomment-2299741137
<!-- Answer -->
To change the Grafana ports from 3002 and 3000 to match when
`networkMode=awsvpc` in the ECS task definition, you need to modify the
`docker-compose.yml` file. Specifically, you should update the `ports` section
under the `grafana` service.
Here is the relevant section of the `docker-compose.yml` file with the
updated ports:
```yaml
grafana:
image: devlake.docker.scarf.sh/apache/devlake-dashboard:v1.0.0
ports:
- "3000:3000" # Change this line to match the desired port
volumes:
- grafana-storage:/var/lib/grafana
environment:
GF_SERVER_ROOT_URL: "http://localhost:4000/grafana"
GF_USERS_DEFAULT_THEME: "light"
MYSQL_URL: "url"
MYSQL_DATABASE: "url"
MYSQL_USER: "user"
MYSQL_PASSWORD: "password"
TZ: UTC
restart: always
```
Make sure to replace `"3000:3000"` with the desired port configuration if
different. This change will ensure that Grafana listens on the specified ports
when using `networkMode=awsvpc` in the ECS task definition
<sup>[[1]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.16/GettingStarted/DockerComposeSetup.md)</sup>.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]