Skip to content

Commit 7f40806

Browse files
committed
[#67] feat: app과 모니터링 컨테이너들을 동일 network로 그룹화
1 parent 46fd0d5 commit 7f40806

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

docker-compose-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,4 @@ volumes:
4545
networks:
4646
gamchi-network:
4747
driver: bridge
48+
name: gamchi-network

monitoring/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ services:
3232

3333
networks:
3434
gamchi-network:
35-
driver: bridge
35+
external: true

monitoring/prometheus/prometheus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ scrape_configs:
1010
metrics_path: '/actuator/prometheus'
1111
scrape_interval: 15s
1212
static_configs:
13-
- targets: ['app:8080']
13+
- targets: ['gamchi-app:8080']
1414
metric_relabel_configs:
1515
- source_labels: [uri]
1616
regex: "/actuator.*"

0 commit comments

Comments
 (0)