Commit 43c9a5fd authored by xiezhi's avatar xiezhi

fix

parent 528b1483
# 仓颉1.0.1模板配置文件
{
"version": "1.0.1",
"name": "仓颉1.0.1 HTTP服务器模板",
"tags": ["cangjie", "http-server", "java"],
"description": "仓颉1.0.1 HTTP服务器模板",
"init_commands": ["make install"],
"start_commands": ["make run"],
"stop_commands": ["make stop"],
[project]
name = "cangjie1.0.1-template"
version = "1.0.1"
description = "仓颉1.0.1 HTTP服务器模板"
language = "cangjie"
framework = "http-server"
"mapping_ports": {
"APP_PORT_1": 8080,
"APP_PORT_2": 8081,
"APP_PORT_3": 8082,
"APP_PORT_4": 8083
},
[build]
compiler = "cangjie"
target = "java"
source_dir = "src/main/cangjie"
output_dir = "build/classes"
[runtime]
main_class = "com.example.HelloWorld"
port = 8080
environment_variables = ["APP_PORT_1"]
[docker]
base_image = "hb.eazytec-cloud.com/eazytec/eazydevelop-cangjie:ubuntu20.04-cangjie1.0.1-latest"
exposed_ports = ["8080"]
[git]
remote_url = "https://gitlab.eazytec-cloud.com/eazy-template/cangjie1.0.1-template.git"
"deploy": [
{
"image_name": "cangjie-app",
"app_access_entry": true,
"ports": [
{
"name": "APP_PORT_1",
"main_port": true,
"inner_access_env_key": "API_URL",
"open_access": true,
"open_access_env_key": "API_DOMAIN"
},
{
"name": "APP_PORT_2",
"main_port": false,
"inner_access_env_key": null,
"open_access": false,
"open_access_env_key": null
}
],
"docker_file_dir": "./",
"deploy_resources": {
"cpu_limit": 0.5,
"memory_limit": 2,
"storage_limit": 1
}
}
]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment