Skip to content

Commit

Permalink
feat/JNU-econovation#206 : docker-compose.monitoring.yml 제거 후 docker-…
Browse files Browse the repository at this point in the history
…compose.yml에 모니터링 관련 yml 작성
  • Loading branch information
hwangdaesun committed May 4, 2024
1 parent a89e9d3 commit 170dd51
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 35 deletions.
35 changes: 0 additions & 35 deletions BE/exceed/docker-compose.monitoring.yml

This file was deleted.

32 changes: 32 additions & 0 deletions BE/exceed/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,37 @@ services:
restart:
on-failure

grafana:
image: grafana/grafana:latest
container_name: grafana
restart: always
ports:
- "3000:3000"
volumes:
- grafana-data:/var/lib/grafana
- ./resources/gaebaljip-develop-environment/grafana/provisioning/:/etc/grafana/provisioning/
environment:
- GF_SERVER_ROOT_URL=https://eatceed.net:3000
- GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_PASSWORD}
depends_on:
- prometheus

prometheus:
image: prom/prometheus:latest
container_name: prometheus
restart: always
ports:
- "9090:9090"
volumes:
- ./resources/gaebaljip-develop-environment/prometheus/config:/etc/prometheus/
- prometheus-data:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'

volumes:
grafana-data:
prometheus-data:

networks:
gaebaljip-network:

0 comments on commit 170dd51

Please sign in to comment.