[Octopus] modify project to SpringBoot version ok

This commit is contained in:
zeaslity
2023-06-14 11:41:01 +08:00
parent 282e70d942
commit e6c71612aa
4 changed files with 27 additions and 10 deletions

View File

@@ -6,10 +6,10 @@ spring:
allow-circular-references: true
allow-bean-definition-overriding: true
rabbitmq:
host: 150.230.198.103
host: 42.192.52.227
port: 20672
username: boge
password: boge14@Level5
password: boge8tingH
virtual-host: /
listener:
simple:
@@ -21,10 +21,10 @@ spring:
max-interval: 65000
initial-interval: 65000
redis:
host: 146.56.147.12
host: 42.192.52.227
port: 21370
database: 0
password: boge14@Level5
password: boge8tingH
# cluster:
# nodes:
# - 43.154.83.213:21370
@@ -50,9 +50,9 @@ spring:
time-between-eviction-runs: 50000
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://140.238.63.37:21306/wdd_server?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8
username: root
password: boge14@Level5
url: jdbc:mysql://42.192.52.227:21306/octopus_server?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8
username: boge
password: boge8tingH
type: com.zaxxer.hikari.HikariDataSource
hikari:
minimum-idle: 3

View File

@@ -24,13 +24,13 @@ services:
interval: 15s
timeout: 5s
retries: 6
redis-master:
redis:
# https://hub.docker.com/r/bitnami/redis
image: bitnami/redis:6.2.11-debian-11-r1
networks:
- app-tier
environment:
- REDIS_PASSWORD=Superwmm.23
- REDIS_PASSWORD=boge8tingH
# Redis 6.0 features a new multi-threading model
- REDIS_IO_THREADS=4
- REDIS_IO_THREADS_DO_READS=yes

View File

@@ -46,6 +46,23 @@ services:
- RABBITMQ_MANAGEMENT_PORT_NUMBER=15672
volumes:
- 'rabbitmq_data:/bitnami/rabbitmq/mnesia'
redis:
# https://hub.docker.com/r/bitnami/redis
image: bitnami/redis:6.2.11-debian-11-r1
networks:
- app-tier
environment:
- REDIS_PASSWORD=boge8tingH
# Redis 6.0 features a new multi-threading model
- REDIS_IO_THREADS=4
- REDIS_IO_THREADS_DO_READS=yes
- REDIS_PORT_NUMBER=6379
- REDIS_REPLICATION_MODE=master
#- REDIS_DISABLE_COMMANDS=FLUSHDB,FLUSHALL
ports:
- '21370:6379'
volumes:
- 'redis_data:/bitnami/redis/data'
volumes:
mysql_data: