feat(deploy): update ingress rules and add media supply configuration
Deployment Config CI / Deployment Config (push) Successful in 12s

This commit is contained in:
2026-05-31 11:14:06 +08:00
parent 8ea4a2ffff
commit 430a83e8dd
5 changed files with 86 additions and 2 deletions
+3
View File
@@ -89,12 +89,15 @@ metadata:
labels:
app.kubernetes.io/name: tenant-api
spec:
type: NodePort
externalTrafficPolicy: Local
selector:
app.kubernetes.io/name: tenant-api
ports:
- name: http
port: 8080
targetPort: http
nodePort: 30083
---
apiVersion: apps/v1
kind: Deployment
+28
View File
@@ -257,3 +257,31 @@ browser_fetch:
- 502
- 503
- 504
media_supply:
enabled: true
default_markup_percent: 50
minimum_markup_cents: 0
worker:
enabled: true
poll_interval: 5s
batch_size: 1
order_max_attempts: 3
sync_max_attempts: 2
backlink_sync_interval: 30m
backlink_batch_size: 20
meijiequan:
base_url: http://www.meijiequan.com
user_id: ""
username: "17788409108"
password: "happy114"
session_ttl: 4h
request_timeout: 30s
sync_page_delay: 800ms
sync_page_size: 100
max_sync_pages: 200
published_page_size: 20
published_max_pages: 3
search_options_ttl: 12h
upstream_lock_ttl: 2m
upstream_min_interval: 800ms
+42
View File
@@ -40,6 +40,20 @@ redis:
cache:
driver: redis
object_storage:
provider: aliyun
endpoint: https://oss-cn-shanghai.aliyuncs.com
access_key: LTAI5tAEj8euR8B1gXzMoG84
secret_key: lJPrKo9ViyHJE8UWIMmMCY0B6Je8v2
bucket: shengxintui
use_ssl: true
public_base_url: ""
bucket_acl: private
object_acl: default
signed_url_ttl: 30m
region: cn-shanghai
force_path_style: false
log:
level: info
format: json
@@ -65,6 +79,34 @@ default_admin:
admin_users:
default_plan_code: free
media_supply:
enabled: true
default_markup_percent: 50
minimum_markup_cents: 0
worker:
enabled: true
poll_interval: 5s
batch_size: 1
order_max_attempts: 3
sync_max_attempts: 2
backlink_sync_interval: 30m
backlink_batch_size: 20
meijiequan:
base_url: http://www.meijiequan.com
user_id: ""
username: "17788409108"
password: "happy114"
session_ttl: 4h
request_timeout: 30s
sync_page_delay: 800ms
sync_page_size: 100
max_sync_pages: 200
published_page_size: 20
published_max_pages: 3
search_options_ttl: 12h
upstream_lock_ttl: 2m
upstream_min_interval: 800ms
ip_region:
v4_xdb_path: ""
v6_xdb_path: ""
+1
View File
@@ -284,6 +284,7 @@ runtime:
- 不要逐句同义替换,不要复制源文的独特措辞,不要编造源文、知识库和补充要求之外的事实。
- 如果给出了地域、品牌/主体或优化关键词,标题和正文都要自然贴合这些上下文。
- 文章禁止出现任何网址、域名、网页链接或 Markdown 链接;源文章中的链接只作为背景理解,不得保留。
- 图片不要保留,直接删除图片,不要保留图片的任何信息。
- 全文篇幅控制在 2000 字左右。
%s
+12 -2
View File
@@ -7,7 +7,7 @@ metadata:
spec:
ingressClassName: traefik
rules:
- host: geo-rankly.local
- host: saas.shengxintui.com
http:
paths:
- path: /
@@ -17,7 +17,7 @@ spec:
name: frontend
port:
number: 80
- host: ops.geo-rankly.local
- host: ops.shengxintui.com
http:
paths:
- path: /
@@ -27,3 +27,13 @@ spec:
name: ops-web
port:
number: 80
- host: api.shengxintui.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: tenant-api
port:
number: 8080