File tree Expand file tree Collapse file tree 5 files changed +31
-1
lines changed Expand file tree Collapse file tree 5 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 8585 -e SPRING_DATASOURCE_URL="${{secrets.PROD_DB_URL}}" \
8686 -e SPRING_DATASOURCE_USERNAME="${{secrets.PROD_DB_USERNAME}}" \
8787 -e SPRING_DATASOURCE_PASSWORD="${{secrets.PROD_DB_PASSWORD}}" \
88+ -e SPRING_RABBITMQ_HOST="${{secrets.PROD_RABBITMQ_HOST}}" \
89+ -e SPRING_RABBITMQ_USERNAME="${{secrets.PROD_RABBITMQ_USERNAME}}" \
90+ -e SPRING_RABBITMQ_PASSWORD="${{secrets.PROD_RABBITMQ_PASSWORD}}" \
8891 ghcr.io/${{ github.repository }}/zoopzoop:latest
8992
9093
Original file line number Diff line number Diff line change 6262 -e SPRING_DATASOURCE_URL="${{secrets.TEST_DB_URL}}" \
6363 -e SPRING_DATASOURCE_USERNAME="${{secrets.TEST_DB_USERNAME}}" \
6464 -e SPRING_DATASOURCE_PASSWORD="${{secrets.TEST_DB_PASSWORD}}" \
65+ -e SPRING_RABBITMQ_HOST="${{secrets.TEST_RABBITMQ_HOST}}" \
66+ -e SPRING_RABBITMQ_USERNAME="${{secrets.TEST_RABBITMQ_USERNAME}}" \
67+ -e SPRING_RABBITMQ_PASSWORD="${{secrets.TEST_RABBITMQ_PASSWORD}}" \
6568 ghcr.io/${{ github.repository }}/zoopzoop:latest
6669
6770 # 헬스체크
Original file line number Diff line number Diff line change @@ -115,6 +115,9 @@ dependencies {
115115
116116 // Redis (Spring starter)
117117 implementation ' org.springframework.boot:spring-boot-starter-data-redis'
118+
119+ // RabbitMQ
120+ implementation ' org.springframework.boot:spring-boot-starter-amqp'
118121}
119122
120123dependencyManagement {
Original file line number Diff line number Diff line change 1+ version : ' 3.8'
2+ services :
3+ rabbitmq :
4+ image : rabbitmq:3-management
5+ container_name : local-rabbitmq
6+ ports :
7+ - " 5672:5672" # AMQP
8+ - " 15672:15672" # Management UI
9+ environment :
10+ RABBITMQ_DEFAULT_USER : guest
11+ RABBITMQ_DEFAULT_PASS : guest
12+ restart : unless-stopped
13+ volumes :
14+ - rabbitmq-data:/var/lib/rabbitmq
15+
16+ volumes :
17+ rabbitmq-data :
Original file line number Diff line number Diff line change @@ -35,7 +35,11 @@ spring:
3535 options :
3636 model : meta-llama/llama-4-scout-17b-16e-instruct
3737 temperature : 0
38-
38+ rabbitmq :
39+ host : ${SPRING_RABBITMQ_HOST:localhost}
40+ port : 5672
41+ username : ${SPRING_RABBITMQ_USERNAME:guest}
42+ password : ${SPRING_RABBITMQ_PASSWORD:guest}
3943
4044springdoc :
4145 default-produces-media-type : application/json;charset=UTF-8
You can’t perform that action at this time.
0 commit comments