Skip to content

Commit

Permalink
fix log path
Browse files Browse the repository at this point in the history
  • Loading branch information
sholdee committed Jun 27, 2024
1 parent 80c9110 commit 9ada761
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ COPY adguard_exporter.py .
EXPOSE 8000

# Set environment variables (can be overridden at runtime)
ENV LOG_FILE_PATH=/adguard/work/data/querylog.json
ENV LOG_FILE_PATH=/opt/adguardhome/work/data/querylog.json
ENV METRICS_PORT=8000
ENV UPDATE_INTERVAL=10

Expand Down
2 changes: 1 addition & 1 deletion adguard_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
config = configparser.ConfigParser()
config.read_dict({
'DEFAULT': {
'LOG_FILE_PATH': '/adguard/work/data/querylog.json',
'LOG_FILE_PATH': '/opt/adguardhome/work/data/querylog.json',
'METRICS_PORT': '8000',
'UPDATE_INTERVAL': '10'
}
Expand Down

0 comments on commit 9ada761

Please sign in to comment.