File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -6,18 +6,16 @@ services:
66 container_name : redis
77 ports :
88 - " 6379:6379"
9- network_mode : host
109
1110 redis-exporter :
1211 image : oliver006/redis_exporter
1312 container_name : redis-exporter
1413 ports :
1514 - " 9121:9121"
1615 environment :
17- REDIS_ADDR : " localhost :6379"
16+ REDIS_ADDR : " redis :6379"
1817 depends_on :
1918 - redis
20- network_mode : host
2119
2220 solid-connection-dev :
2321 build :
@@ -26,13 +24,15 @@ services:
2624 container_name : solid-connection-dev
2725 ports :
2826 - " 8080:8080"
27+ - " 8081:8081"
2928 environment :
3029 - SPRING_PROFILES_ACTIVE=dev
30+ - SPRING_DATA_REDIS_HOST=redis
31+ - SPRING_DATA_REDIS_PORT=6379
3132 volumes :
3233 - ./logs:/var/log/spring
3334 depends_on :
3435 - redis
35- network_mode : host
3636
3737 alloy :
3838 image : grafana/alloy:latest
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ services:
2424 container_name : solid-connection-server
2525 ports :
2626 - " 8080:8080"
27+ - " 8081:8081"
2728 environment :
2829 - SPRING_PROFILES_ACTIVE=prod
2930 - SPRING_DATA_REDIS_HOST=redis
You can’t perform that action at this time.
0 commit comments