File tree Expand file tree Collapse file tree 3 files changed +14
-30
lines changed
fluxgate-sample-standalone-java11
fluxgate-sample-standalone-java21 Expand file tree Collapse file tree 3 files changed +14
-30
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,23 @@ services:
3131 - mongo-data:/data/db
3232
3333 # ============================================
34- # Redis Standalone - Rate Limiting
34+ # Redis Cluster - Rate Limiting
35+ # ============================================
36+ redis-cluster :
37+ image : grokzen/redis-cluster:7.0.10
38+ container_name : redis-cluster
39+ environment :
40+ IP : 0.0.0.0
41+ INITIAL_PORT : 7100
42+ ports :
43+ - " 7100-7105:7100-7105"
44+
45+ # ============================================
46+ # Redis Single - Rate Limiting (Not used)
3547 # ============================================
3648 redis :
3749 image : redis:7.2-alpine
38- container_name : fluxgate-redis
50+ container_name : fluxgate-redis-single
3951 ports :
4052 - " 6379:6379"
4153
Original file line number Diff line number Diff line change 7373 <artifactId >spring-boot-starter-web</artifactId >
7474 </dependency >
7575
76- <!-- MongoDB -->
77- <dependency >
78- <groupId >org.springframework.boot</groupId >
79- <artifactId >spring-boot-starter-data-mongodb</artifactId >
80- </dependency >
81-
82- <!-- Redis -->
83- <dependency >
84- <groupId >org.springframework.boot</groupId >
85- <artifactId >spring-boot-starter-data-redis</artifactId >
86- </dependency >
87-
8876 <!-- FluxGate Spring Boot 2.x Starter (with javax.servlet support) -->
8977 <dependency >
9078 <groupId >io.github.openfluxgate</groupId >
Original file line number Diff line number Diff line change 2929 <artifactId >spring-boot-starter-web</artifactId >
3030 </dependency >
3131
32- <!-- (선호) Boot 스타터로 버전 안정화 -->
33- <dependency >
34- <groupId >org.springframework.boot</groupId >
35- <artifactId >spring-boot-starter-data-mongodb</artifactId >
36- </dependency >
37-
38- <dependency >
39- <groupId >org.springframework.boot</groupId >
40- <artifactId >spring-boot-starter-data-redis</artifactId >
41- </dependency >
42-
4332 <!-- FluxGate -->
44- <dependency >
45- <groupId >io.github.openfluxgate</groupId >
46- <artifactId >fluxgate-core</artifactId >
47- <version >${project.version} </version >
48- </dependency >
4933 <dependency >
5034 <groupId >io.github.openfluxgate</groupId >
5135 <artifactId >fluxgate-spring-boot3-starter</artifactId >
You can’t perform that action at this time.
0 commit comments