Comments (8)
export FLOW_API_CONFIG_PATH=/etc/flow.ci/config
from docs.
@lluxury 端口 8080
from docs.
flow api config file
JDBC config
jdbc.url = jdbc:mysql://127.0.0.1:3306/flow_api_db?useSSL=false
jdbc.username = db_username
jdbc.password = db_password
jdbc.pool.size = 50
jdbc.commit.auto = false
jdbc.connection.timeout = 20000
Hibernate config
hibernate.show_sql = false
hibernate.hbm2ddl.auto = validate
api settings
api.workspace = ${HOME}/flow-ci/workspace
api.git.cache = ${HOME}/flow-ci/git-cache
api.git.workspace = ${HOME}/flow-ci/git-repos
api.zone.default = default
expiration duration of token, it's in millisecond
86400000 = 1000 * 60 * 60 * 24 = 1 day (will expiration after one day)
api.user.expire = 86400000
domain
domain.api = http://api_domain:8080/flow-api
domain.web = http://web_domain:3000
domain.cc = http://api_doamin:8080/flow-control-center
system.email = [email protected]
system.username = admin
system.password = 123456
plugin repos url
plugins.repository = https://raw.githubusercontent.com/flowci/plugins/master/repository.json
task.job.toggle.execution_timeout = true
expired in 1800 seconds for create session
task.job.toggle.execution_create_session_duration = 1800
expired in 3600 seconds for job running
task.job.toggle.execution_running_duration = 3600
from docs.
@lluxury 改一下配置文件
from docs.
agent config
agent.config.ws = ws://api_domain:8080/flow-api
agent.config.cc = http://api_domain:8080/flow-control-center
from docs.
收到,多谢
from docs.
再请问一下:
导入配置文件并启动
安装 dist 目录下的 flow-api-.war 以及 flow-control-center-.war 到 Apache Tomcat 服务器中,并设置上一步配置的 app-api.properties 到 FLOW_API_CONFIG_PATH 环境变量,app-cc.properties 到 FLOW_CC_CONFIG_PATH 环境变量
配置的 app-api.properties到 FLOW_API_CONFIG_PATH 环境变量需要怎么操作?
from docs.
@lluxury 把配置文件copy到 /etc/flow.ci/config文件夹下,没有的话创建一个
from docs.
Related Issues (20)
- agent 需要什么特别配置吗? HOT 3
- 按照sample跑却无法登陆
- 基于docker启动后默认的用户名密码直接在文档上写明可否?
- mac安装的文档什么时候才有呢?
- 安装后无法登陆 HOT 2
- 你们能完善下文档吗 HOT 1
- gitlab 使用 web hook 触发显示非法请求 怎么处理?
- 数据库修改 ,在哪里修改呢
- English version HOT 1
- 不支持web前端项目构建? HOT 1
- k8s文档内容为空 HOT 1
- 项目构筑一直是准备中为什么啊 HOT 1
- 你好,我在云平台启动项目的时候报了一个错导致core模块无法启动,具体报错如下 HOT 3
- 无限重连8080端口 HOT 9
- [Help wanted] Configuration as code HOT 1
- 银河麒麟V10系统卡在loading界面
- 是否不适用于mac m1系统? HOT 3
- 使用k8s-agent, 可以连接成功,也可以创建pod. 但是容器日志报错,导致流水线一直卡着不动,报错日志如下 HOT 1
- 基于docker构建项目会出现 python3: command not found错误 HOT 1
- Helm Charts and Server in K8s HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.