Setting the WEBAPPVNet parameter in Dockercompose does not take effect

by-zttyx-geoserver1:
image: docker.osgeo.org/geoserver:2.25.2
restart: always
container_name: by-zttyx-geoserver1
ports:
- 10022:8080
environment:
- TZ=Asia/Shanghai
# 自动安装插件
#- INSTALL_EXTENSIONS=true
#插件列表
#- STABLE_EXTENSIONS=pyramid,vectortiles
# 忽略自带的demo数据
- SKIP_DEMO_DATA=true
- EXTRA_JAVA_OPTS=-Xms4G -Xmx4G
- GEOSERVER_ADMIN_USER=admin
- GEOSERVER_ADMIN_PASSWORD=123456
- CORS_ENABLED=true
#上下文
- ROOT_WEBAPP_REDIRECT=true
- WEBAPP_CONTEXT=byGeoserver1

From your example do you mean the WEBAPP_CONTEXT parameter?

We recently switched to tomcat base image and I am not familiar with the WEBAPP_CONTEXT parameter?

Do you have a link to documentation on this parameter or more information on what you expect to occur?

The expected effect is to change the default homepage path to a custom one
Example: Replace 192.166.3.11:8080/geoserver with 192.166.3.11:8080/mygeoserver