Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cangjie1.0.1-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eazy-template
cangjie1.0.1-template
Commits
43c9a5fd
Commit
43c9a5fd
authored
Sep 16, 2025
by
xiezhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
528b1483
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
25 deletions
+44
-25
.eazy
.eazy
+44
-25
No files found.
.eazy
View file @
43c9a5fd
# 仓颉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
}
}
]
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment