Skip to content

Commit

Permalink
allow deluge log level to be controlled
Browse files Browse the repository at this point in the history
  • Loading branch information
gmega committed Dec 5, 2024
1 parent 090b77c commit 5c23c9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker/bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ fi

cd "${DELUGE_APP}"
python ./docker/bin/create_config.py
python -m deluge.core.daemon_entry -c "${DELUGE_CONFIG_DIR}" -d -L debug
python -m deluge.core.daemon_entry -c "${DELUGE_CONFIG_DIR}" -d -L "${DELUGE_LOG_LEVEL}"
1 change: 1 addition & 0 deletions docker/deluge.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ENV DELUGE_RPC_PORT=6890
ENV DELUGE_LISTEN_PORTS=6891,6892
ENV DELUGE_DAEMON_USERNAME=user
ENV DELUGE_DAEMON_PASSWORD=password

Check warning on line 16 in docker/deluge.Dockerfile

View workflow job for this annotation

GitHub Actions / docker

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "DELUGE_DAEMON_PASSWORD") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
ENV DELUGE_LOG_LEVEL=debug

RUN mkdir -p ${DELUGE_APP} ${DELUGE_CONFIG_DIR}
RUN groupadd -g ${GID} deluge_user \
Expand Down

0 comments on commit 5c23c9d

Please sign in to comment.