This commit is contained in:
William.Z 2026-01-04 20:57:52 +08:00
parent 5a722b35e7
commit 1b589badb1
2 changed files with 44 additions and 6 deletions

View File

@ -34,9 +34,9 @@ data:
option httpchk GET /api/hq/sinahealth
http-check expect status 200
balance roundrobin
server s1 119.29.23.201:8188 check
server s2 159.75.35.194:8188 check
server s3 139.199.16.149:8188 check
server s4 81.71.84.187:8188 check
server s5 43.139.167.211:8188 check
server s6 119.91.32.129:8188 check
server s1 119.91.233.20:8188 check
server s2 42.194.177.92:8188 check
server s3 43.138.215.116:8188 check
server s4 42.193.159.78:8188 check
server s5 111.230.67.55:8188 check
server s6 193.112.121.222:8188 check

View File

@ -0,0 +1,38 @@
services:
market_service:
image: juyou.tencentcloudcr.com/juyoutech/stock2_java_market:main
container_name: stock2_java_market_container
environment:
# 时区
- TZ=Asia/Shanghai
# 数据库配置
- MARKET_MYSQL_DB=stock-market
- MYSQL_DB=stock2-api
- MYSQL_HOST=139.9.44.53
- MYSQL_USER=root
- MYSQL_PASSWORD=RPTlH8ywgkQ21Zwtnk
- MYSQL_PORT=52600
# Redis 配置
- REDIS_HOST=redis_server
- REDIS_PASSWORD=passwordrandom
- REDIS_PORT=6379
ports:
- "8188:8188"
restart: unless-stopped
networks:
- app_network
redis:
image: redis:latest
container_name: redis_server
command: redis-server --requirepass "passwordrandom"
ports:
- "6379:6379"
volumes:
- ./data:/data
networks:
- app_network
networks:
app_network:
driver: bridge