[ Agent ] [ App ] - offline build

This commit is contained in:
zeaslity
2023-12-14 11:54:43 +08:00
parent 32b4e4a94c
commit 889185f577
3 changed files with 8 additions and 28 deletions

View File

@@ -37,6 +37,8 @@ octopus:
executor:
# agent执行一条Command的最长超时时间
processMaxTimeOut: 60
# ossOfflinePrefix: "https://oss-s1.107421.xyz"
ossOfflinePrefix: "http://OFFLINE_HOST_IP9000/octopus/"
status:
app:
- Nginx/nginx
@@ -51,12 +53,11 @@ spring:
allow-circular-references: true
allow-bean-definition-overriding: true
rabbitmq:
host: 42.192.52.227
# host: 192.168.35.71
host: OFFLINE_HOST_IP
port: 20672
username: boge
password: boge8tingH
virtual-host: /wdd
virtual-host: /
listener:
simple:
retry:
@@ -66,26 +67,3 @@ spring:
# retry interval unit ms
max-interval: 65000
initial-interval: 65000
#spring:
# application:
# name: octopus-agent
# profiles:
# active: dev
# cloud:
# nacos:
# config:
# group: dev
# config-retry-time: 3000
# file-extension: yaml
# max-retry: 3
# # server-addr: "150.230.198.103:21060"
# server-addr: "42.192.52.227:21060"
# timeout: 5000
# config-long-poll-timeout: 5000
# extension-configs:
# - group: dev
# data-id: "common-dev.yaml"
#
#server:
# port: 8000

View File

@@ -48,6 +48,8 @@ spring:
# 连接池中的最小空闲连接数默认值为0
min-idle: 10
time-between-eviction-runs: 50000
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://42.192.52.227:21306/octopus_server?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8

View File

@@ -18,7 +18,7 @@ services:
- MYSQL_ROOT_PASSWORD=boge8tingH
- MYSQL_CHARACTER_SET=utf8mb4
- MYSQL_COLLATE:utf8_general_ci
- MYSQL_AUTHENTICATION_PLUGIN=mysql_native_password
- MYSQL_AUTHENTICATION_PLUGIN=caching_sha2_password
healthcheck:
test: [ 'CMD', '/opt/bitnami/scripts/mysql/healthcheck.sh' ]
interval: 15s