Skip to content

Commit

Permalink
Merge pull request #25 from hwangdaesun/feat/JNU-econovation#206
Browse files Browse the repository at this point in the history
feat/JNU-econovation#206 : docker-compose.monitoring.yml 제거 후 docker-compose.yml에 모니…
  • Loading branch information
hwangdaesun authored May 4, 2024
2 parents fc4f32c + 170dd51 commit 3895842
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 3895842

Please sign in to comment.