Giter Site home page Giter Site logo

基于 Linux 的安装 about docs HOT 8 CLOSED

flowci avatar flowci commented on August 28, 2024
基于 Linux 的安装

from docs.

Comments (8)

yunheli avatar yunheli commented on August 28, 2024 2

export FLOW_API_CONFIG_PATH=/etc/flow.ci/config

from docs.

yunheli avatar yunheli commented on August 28, 2024

@lluxury 端口 8080

from docs.

yunheli avatar yunheli commented on August 28, 2024

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.

yunheli avatar yunheli commented on August 28, 2024

@lluxury 改一下配置文件

from docs.

yunheli avatar yunheli commented on August 28, 2024

agent config

agent.config.ws = ws://api_domain:8080/flow-api
agent.config.cc = http://api_domain:8080/flow-control-center

from docs.

lluxury avatar lluxury commented on August 28, 2024

收到,多谢

from docs.

lluxury avatar lluxury commented on August 28, 2024

再请问一下:
导入配置文件并启动
安装 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.

yunheli avatar yunheli commented on August 28, 2024

@lluxury 把配置文件copy到 /etc/flow.ci/config文件夹下,没有的话创建一个

from docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.