服务器设置在内网,只通过内网使用,因用户经常记不住端口,请问修改 docker-compose.yaml 如下,直接打开 80 端口,使用上有什么问题吗?
services:
app:
image: registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-community:5.8.3
environment: &app-environment
ENV_ADDRESS_MAIN: "http://192.168.199.22:80"
ENV_APP_VERSION: "5.8.3"
ENV_API_TOKEN: "uBmeC4Wbvq74OdZmZtvgpYy39P6q3r7K5WuFAVn4o6SQsLdQ"
ENV_ROLE_MODE_WAITMS: "90000"
ENV_FILE_DELETE_ENABLE_PHYSICAL: "true"
ENV_FILE_DELETE_BEFORE_DAYS: "1"
ENV_FILE_DELETE_TASK_CRON: "0 0 21 * * ?"
ports:
- 80:8880
volumes: - ./volume/data/:/data/
- ../data:/data/mingdao/data
sc:
image: registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-sc:3.0.0
environment:
<<: *app-environment
volumes:
- ./volume/data/:/data/
command:
image: registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-command:node1018-python36
environment:
<<: *app-environment
doc:
image: registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-doc:1.2.0
environment:
ENV_FILE_INNER_URI: "app:8880"