Skip to content

Commit

Permalink
Merge pull request #159 from 2024-SummerBootcamp-Team/set/#66
Browse files Browse the repository at this point in the history
[set/#66] Timezone 서울 설정
  • Loading branch information
kalsteve authored Jul 29, 2024
2 parents 76d69eb + 6160f0e commit 2f1360e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ FROM python:3.10
# 작업 디렉토리 설정
WORKDIR /app

# Timezone 설정
ENV TZ="Asia/Seoul"

# AWS CLI 설치
RUN apt-get install -y curl unzip && \
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
Expand Down
9 changes: 9 additions & 0 deletions docker-compose-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ services:
- '--config.file=/etc/prometheus/prometheus.yml'
ports:
- "9090:9090"
environment:
- TZ=Asia/Seoul
networks:
- teamhnet

Expand All @@ -57,6 +59,8 @@ services:
- ./monitoring/grafana/dashboards:/etc/grafana/provisioning/dashboards/
ports:
- "3000:3000"
environment:
- TZ=Asia/Seoul
networks:
- teamhnet

Expand All @@ -72,6 +76,8 @@ services:
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
privileged: true
environment:
- TZ=Asia/Seoul
networks:
- teamhnet

Expand Down Expand Up @@ -131,6 +137,8 @@ services:
ports:
- "80:80"
restart: always
environment:
- TZ=Asia/Seoul
networks:
- teamhnet

Expand All @@ -139,6 +147,7 @@ services:
image: nginx/nginx-prometheus-exporter:1.3
environment:
- SCRAPE_URI=http://nginx:9110/metrics
- TZ=Asia/Seoul
ports:
- "9113:9113"
networks:
Expand Down

0 comments on commit 2f1360e

Please sign in to comment.