Changing Frontend Port in Docker Compose File instead of CLI manipulation

Original Slack Thread

Hi team, we are trying to divert the frontend port away from 9002 and found that below command is working. Just checking if there is any way to change it in the docker compose file instead of CLI? Thanks
DATAHUB_MAPPED_FRONTEND_PORT=12345 datahub docker quickstart

Hey there! :wave: Make sure your message includes the following information if relevant, so we can help more effectively!

  1. Are you using UI or CLI for ingestion?
  2. Which DataHub version are you using? (e.g. 0.12.0)
  3. What data source(s) are you integrating with DataHub? (e.g. BigQuery)
  1. both
  2. DataHub CLI version: 0.13.1.2

not sure what exactly you want to achieve, but if you copy the compose file you can simply edit the port mapping e.g. here https://github.com/datahub-project/datahub/blob/master/docker/docker-compose.yml#L13

Thanks David, it works~