1Panel
1Panel copied to clipboard
[Feature] Make extra_hosts configurable
1Panel Version
2.0.10
Please describe your needs or suggestions for improvements
可以考虑把extra_hosts的域名也做成
Please describe the solution you suggest
No response
Additional Information
No response
感谢反馈。上述需求是希望支持类似下面这种 extra_hosts 配置吗?
services:
app:
image: nginx:latest
ports:
- "8080:80"
environment:
- APP_ENV=prod
extra_hosts:
- "test.local:192.168.1.100"
- "db.local:172.16.1.50"
感谢反馈。上述需求是希望支持类似下面这种
extra_hosts配置吗?services: app: image: nginx:latest ports: - "8080:80" environment: - APP_ENV=prod extra_hosts: - "test.local:192.168.1.100" - "db.local:172.16.1.50"
对就是这样
感谢反馈。上述需求是希望支持类似下面这种
extra_hosts配置吗? services: app: image: nginx:latest ports:
- "8080:80" environment:
- APP_ENV=prod extra_hosts:
- "test.local:192.168.1.100"
- "db.local:172.16.1.50"
对就是这样
好的,我们后续版本考虑下这个需求。
v2.0.13 版本已发布。