Skip to content

Commit

Permalink
Merge branch 'deploy' of https://github.com/KakaoFunding/back-end int…
Browse files Browse the repository at this point in the history
…o deploy
  • Loading branch information
kmw2378 committed Jun 29, 2024
2 parents 6c90f4b + 289a66e commit 204456c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ run-name: Running
on:
push:
branches:
- deploy # deploy 브런치로 푸쉬했을 때 실행
- deploy
pull_request:
branches:
- deploy
Expand Down
38 changes: 19 additions & 19 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,25 +107,25 @@ services:
volumes:
- /home/ec2-user/my.cnf:/etc/mysql/my.cnf

loki:
image: grafana/loki:latest
container_name: loki
restart: always
ports:
- "3100:3100"
volumes:
- ./loki-config.yml:/etc/loki/local-config.yaml

promtail:
image: grafana/promtail:latest
container_name: promtail
restart: always
volumes:
- /var/log:/var/log
- ./promtail-config.yml:/etc/promtail/config.yml
command: -config.file=/etc/promtail/config.yml
environment:
- HOSTNAME=promtail
# loki:
# image: grafana/loki:latest
# container_name: loki
# restart: always
# ports:
# - "3100:3100"
# volumes:
# - ./loki-config.yml:/etc/loki/local-config.yaml
#
# promtail:
# image: grafana/promtail:latest
# container_name: promtail
# restart: always
# volumes:
# - /var/log:/var/log
# - ./promtail-config.yml:/etc/promtail/config.yml
# command: -config.file=/etc/promtail/config.yml
# environment:
# - HOSTNAME=promtail
volumes:
grafana-storage:
prometheus-data:
Expand Down

0 comments on commit 204456c

Please sign in to comment.