Commit 145d72a8 by zhouhaibao

config(data-process): 使用环境变量配置端口映射

- 将硬编码的端口映射改为使用 ${PORT} 环境变量
- 移除 .env.custom 文件引用,改用 environment 配置
1 parent 356b1e1d
...@@ -7,7 +7,7 @@ services: ...@@ -7,7 +7,7 @@ services:
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: data-process container_name: data-process
ports: ports:
- "5000:5000" - "${PORT}:5000"
env_file: env_file:
- .env.custom - .env.custom
environment: environment:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!