Skip to content

Commit

Permalink
Add Timezone support
Browse files Browse the repository at this point in the history
  • Loading branch information
ledermann committed Dec 17, 2023
1 parent a390f5c commit f3775d5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ INFLUX_ORG=solectrus
# Customize InfluxDB storage
INFLUX_BUCKET=my-solectrus-bucket
INFLUX_MEASUREMENT=Tibber

# Timezone
TZ=Europe/Berlin
1 change: 1 addition & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
CI: true
TZ: Europe/Berlin

steps:
- name: Checkout the code
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ RUN bundle config --local frozen 1 && \
FROM ruby:3.2.2-alpine
LABEL maintainer="[email protected]"

# Add tzdata to get correct timezone
RUN apk add --no-cache tzdata

# Decrease memory usage
ENV MALLOC_ARENA_MAX 2

Expand Down

0 comments on commit f3775d5

Please sign in to comment.