DocsGPT icon indicating copy to clipboard operation
DocsGPT copied to clipboard

🐛 Bug Report: Is it possible to configure each port in a single configuration file?

Open dinghuanghao opened this issue 2 years ago • 1 comments

📜 Description

Is it possible to configure each port in a single configuration file? I am deploying on a remote server and I need to reconfigure the ports, but I found that I have to modify many files.

👟 Reproduction steps

I need config so many file to change a port

	修改:     application/app.py
	修改:     docker-compose-local.yaml
	修改:     docker-compose.yaml
	修改:     frontend/Dockerfile
	修改:     frontend/vite.config.ts

👍 Expected behavior

juse one line configuration.

👎 Actual Behavior with Screenshots

.

💻 Operating system

Linux

What browsers are you seeing the problem on?

No response

🤖 What development environment are you experiencing this bug on?

Docker

🔒 Did you set the correct environment variables in the right path? List the environment variable names (not values please!)

No response

📃 Provide any additional context for the Bug.

No response

📖 Relevant log output

No response

👀 Have you spent some time to check if this bug has been raised before?

  • [X] I checked and didn't find similar issue

🔗 Are you willing to submit PR?

None

🧑‍⚖️ Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

dinghuanghao avatar Oct 11 '23 06:10 dinghuanghao

Yes, your docker-compose files port will become the exsit port. There are few different docker-compose files for different set ups.

dartpain avatar Oct 11 '23 18:10 dartpain