修改部署端口、挂载路径
This commit is contained in:
@@ -4,7 +4,7 @@ services:
|
|||||||
container_name: mars-titiler
|
container_name: mars-titiler
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- "8001:8000"
|
- "8002:8000"
|
||||||
|
|
||||||
# 启动自定义的 Mars Titiler 应用
|
# 启动自定义的 Mars Titiler 应用
|
||||||
command: [
|
command: [
|
||||||
@@ -36,7 +36,7 @@ services:
|
|||||||
# 挂载项目目录到容器
|
# 挂载项目目录到容器
|
||||||
- ./app.py:/mars-titiler/app.py:ro
|
- ./app.py:/mars-titiler/app.py:ro
|
||||||
# 挂载数据目录
|
# 挂载数据目录
|
||||||
- ./data:/data:ro
|
- /mnt/Data/layer_mars:/data:ro
|
||||||
|
|
||||||
# 可选:如果使用 gunicorn 生产环境,取消注释以下配置
|
# 可选:如果使用 gunicorn 生产环境,取消注释以下配置
|
||||||
# command: [
|
# command: [
|
||||||
|
|||||||
Reference in New Issue
Block a user