69 lines
1.9 KiB
YAML
Executable File
69 lines
1.9 KiB
YAML
Executable File
server:
|
|
port: 8000
|
|
|
|
logging:
|
|
level:
|
|
web: info
|
|
|
|
octopus:
|
|
message:
|
|
# agent boot up default common exchange
|
|
init_exchange: InitExchange
|
|
# server will send message to agent using this common queue
|
|
init_to_server: InitToServer
|
|
# agent boot up default common exchange routing key
|
|
init_to_server_key: InitToServerKey
|
|
# server will receive message from agent using this common queue
|
|
init_from_server: InitFromServer
|
|
# agent boot up default common exchange routing key
|
|
init_from_server_key: InitFromServerKey
|
|
# initialization register time out (unit ms) default is 5 min
|
|
init_ttl: "3000000"
|
|
# Octopus Exchange Name == server communicate with agent
|
|
octopus_exchange: OctopusExchange
|
|
# Octopus Message To Server == all agent send info to server queue and topic
|
|
octopus_to_server: OctopusToServer
|
|
executor:
|
|
name: executor-functions
|
|
status:
|
|
name: octopus-agent
|
|
healthy:
|
|
type: cron
|
|
cron: 10 */1 * * * ? *
|
|
start-delay: 30
|
|
metric:
|
|
pinch: 20
|
|
agent:
|
|
executor:
|
|
# agent执行一条Command的最长超时时间
|
|
processMaxTimeOut: 60
|
|
# ossOfflinePrefix: "https://oss-s1.107421.xyz"
|
|
ossOfflinePrefix: "http://OFFLINE_HOST_IP:9000/octopus/"
|
|
status:
|
|
app:
|
|
- Nginx/nginx
|
|
- MySQL/mysql
|
|
- Xray/xray
|
|
- OctopusAgent/octopus-agent
|
|
- Redis/redis
|
|
- RabbitMQ/rabbitmq
|
|
|
|
spring:
|
|
main:
|
|
allow-circular-references: true
|
|
allow-bean-definition-overriding: true
|
|
rabbitmq:
|
|
host: OFFLINE_HOST_IP
|
|
port: 20672
|
|
username: boge
|
|
password: boge8tingH
|
|
virtual-host: /
|
|
listener:
|
|
simple:
|
|
retry:
|
|
# ack failed will reentrant the Rabbit Listener
|
|
max-attempts: 2
|
|
enabled: true
|
|
# retry interval unit ms
|
|
max-interval: 65000
|
|
initial-interval: 65000 |